|
|
|
@ -327,7 +327,7 @@ MACRO(FIND_PACKAGE_HELPER NAME INCLUDE)
|
|
|
|
|
LIST(REMOVE_DUPLICATES _DEBUG_LIBRARIES)
|
|
|
|
|
|
|
|
|
|
# Search for release library
|
|
|
|
|
IF(DEFINED ENV{${_UPNAME_FIXED}_ROOT})
|
|
|
|
|
IF(DEFINED ENV{${_UPNAME_FIXED}_ROOT} AND NOT WIN32)
|
|
|
|
|
FIND_LIBRARY(${_UPNAME_FIXED}_LIBRARY_RELEASE
|
|
|
|
|
NAMES
|
|
|
|
|
${_RELEASE_LIBRARIES}
|
|
|
|
@ -361,7 +361,7 @@ MACRO(FIND_PACKAGE_HELPER NAME INCLUDE)
|
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
|
|
# Search for debug library
|
|
|
|
|
IF(DEFINED ENV{${_UPNAME_FIXED}_ROOT})
|
|
|
|
|
IF(DEFINED ENV{${_UPNAME_FIXED}_ROOT} AND NOT WIN32)
|
|
|
|
|
FIND_LIBRARY(${_UPNAME_FIXED}_LIBRARY_DEBUG
|
|
|
|
|
NAMES
|
|
|
|
|
${_DEBUG_LIBRARIES}
|
|
|
|
|