We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f57219e commit 8c292dbCopy full SHA for 8c292db
indra/cmake/LLKDU.cmake
@@ -14,11 +14,18 @@ if (USE_KDU)
14
include(Prebuilt)
15
use_prebuilt_binary(kdu)
16
17
- find_library(KDU_LIBRARY
18
- NAMES
19
- kdu
20
- libkdu.a
21
- PATHS "${ARCH_PREBUILT_DIRS_RELEASE}" REQUIRED NO_DEFAULT_PATH)
+ if (WINDOWS)
+ find_library(KDU_LIBRARY
+ NAMES
+ kdu
+ PATHS "${ARCH_PREBUILT_DIRS_RELEASE}" REQUIRED NO_DEFAULT_PATH)
22
+ else (WINDOWS)
23
24
25
26
+ libkdu.a
27
28
+ endif (WINDOWS)
29
30
target_link_libraries(ll::kdu INTERFACE ${KDU_LIBRARY})
31
0 commit comments