blob: 07baa1a32ab141bee95d05f5b569357b85b3f9e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- 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()
|