Commit 17278ce 1 parent e98731b commit 17278ce Copy full SHA for 17278ce
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ set(WVLET_STATIC_URL "")
16
16
set (WVLET_DYNAMIC_URL "" )
17
17
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
18
18
# # if(SYSTEM_ARCH MATCHES ".*(amd64|x86_64).*" )
19
- if (EXISTS " ${CMAKE_CURRENT_BINARY_DIR} /build/release/vcpkg_installed/ x64-linux" )
19
+ if (VCPKG_TARGET_TRIPLET MATCHES " x64-linux" )
20
20
set (WVLET_STATIC_URL "https://github.com/quackmagic/wvlet-lib/releases/download/latest/linux-x64_libwvlet.a" )
21
21
set (WVLET_STATIC_PATH "${CMAKE_CURRENT_SOURCE_DIR} /third-party/linux-x64_libwvlet.a" )
22
22
set (WVLET_DYNAMIC_URL "https://github.com/quackmagic/wvlet-lib/releases/download/latest/linux-x64_libwvlet.so" )
23
23
set (WVLET_DYNAMIC_PATH "${CMAKE_CURRENT_SOURCE_DIR} /third-party/linux-x64_libwvlet.so" )
24
24
# # elseif(SYSTEM_ARCH MATCHES ".*(arm64|aarch64).*")
25
- elseif (EXISTS " ${CMAKE_CURRENT_BINARY_DIR} /build/release/vcpkg_installed/ arm64-linux" )
25
+ elseif (VCPKG_TARGET_TRIPLET MATCHES " arm64-linux" )
26
26
set (WVLET_STATIC_URL "https://github.com/quackmagic/wvlet-lib/releases/download/latest/linux-arm64_libwvlet.a" )
27
27
set (WVLET_STATIC_PATH "${CMAKE_CURRENT_SOURCE_DIR} /third-party/linux-arm64_libwvlet.a" )
28
28
set (WVLET_DYNAMIC_URL "https://github.com/quackmagic/wvlet-lib/releases/download/latest/linux-arm64_libwvlet.so" )
You can’t perform that action at this time.
0 commit comments