You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
971 B
24 lines
971 B
--- a/cmake/modules/FindGetdata.cmake 2014-02-13 10:41:44.000000000 +0100
|
|
+++ b/cmake/modules/FindGetdata.cmake 2021-09-07 14:32:16.248930734 +0200
|
|
@@ -49,19 +49,9 @@
|
|
PATHS ${kst_3rdparty_dir} ${PKGGETDATA_LIBRARY_DIRS})
|
|
list(APPEND GETDATA_LIBRARIES_RELEASE ${lib_release})
|
|
list(APPEND GETDATA_LIBRARIES_BOTH optimized ${lib_release})
|
|
- set(lib_debug lib_debug-NOTFOUND CACHE STRING "" FORCE)
|
|
- FIND_LIBRARY(lib_debug ${it}d
|
|
- HINTS ENV GETDATA_DIR PATH_SUFFIXES lib
|
|
- PATHS ${kst_3rdparty_dir} ${PKGGETDATA_LIBRARY_DIRS})
|
|
- list(APPEND GETDATA_LIBRARIES_DEBUG ${lib_debug})
|
|
- list(APPEND GETDATA_LIBRARIES_BOTH debug ${lib_debug})
|
|
endforeach()
|
|
|
|
-if(GETDATA_LIBRARIES_DEBUG AND GETDATA_LIBRARIES_RELEASE)
|
|
- set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_BOTH} CACHE STRING "" FORCE)
|
|
-else()
|
|
- set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_RELEASE} CACHE STRING "" FORCE)
|
|
-endif()
|
|
+set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_RELEASE} CACHE STRING "" FORCE)
|
|
|
|
endif()
|
|
|