Skip to content

Commit

Permalink
VCPKG_TARGET_TRIPLET
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Nov 24, 2024
1 parent e98731b commit 17278ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ set(WVLET_STATIC_URL "")
set(WVLET_DYNAMIC_URL "")
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
# # if(SYSTEM_ARCH MATCHES ".*(amd64|x86_64).*" )
if(EXISTS "${CMAKE_CURRENT_BINARY_DIR}/build/release/vcpkg_installed/x64-linux")
if(VCPKG_TARGET_TRIPLET MATCHES "x64-linux")
set(WVLET_STATIC_URL "https://github.com/quackmagic/wvlet-lib/releases/download/latest/linux-x64_libwvlet.a")
set(WVLET_STATIC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/third-party/linux-x64_libwvlet.a")
set(WVLET_DYNAMIC_URL "https://github.com/quackmagic/wvlet-lib/releases/download/latest/linux-x64_libwvlet.so")
set(WVLET_DYNAMIC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/third-party/linux-x64_libwvlet.so")
# # elseif(SYSTEM_ARCH MATCHES ".*(arm64|aarch64).*")
elseif(EXISTS "${CMAKE_CURRENT_BINARY_DIR}/build/release/vcpkg_installed/arm64-linux")
elseif(VCPKG_TARGET_TRIPLET MATCHES "arm64-linux")
set(WVLET_STATIC_URL "https://github.com/quackmagic/wvlet-lib/releases/download/latest/linux-arm64_libwvlet.a")
set(WVLET_STATIC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/third-party/linux-arm64_libwvlet.a")
set(WVLET_DYNAMIC_URL "https://github.com/quackmagic/wvlet-lib/releases/download/latest/linux-arm64_libwvlet.so")
Expand Down

0 comments on commit 17278ce

Please sign in to comment.