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) LIST(REMOVE_DUPLICATES _DEBUG_LIBRARIES)
# Search for release library # 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 FIND_LIBRARY(${_UPNAME_FIXED}_LIBRARY_RELEASE
NAMES NAMES
${_RELEASE_LIBRARIES} ${_RELEASE_LIBRARIES}
@ -361,7 +361,7 @@ MACRO(FIND_PACKAGE_HELPER NAME INCLUDE)
ENDIF() ENDIF()
# Search for debug library # 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 FIND_LIBRARY(${_UPNAME_FIXED}_LIBRARY_DEBUG
NAMES NAMES
${_DEBUG_LIBRARIES} ${_DEBUG_LIBRARIES}

Loading…
Cancel
Save