Another workaround. This seems heavily outdated

core4
Jan Boon 3 years ago committed by GitHub
parent 5d5e5a7e8a
commit 016a1bc890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}

Loading…
Cancel
Save