mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-23 11:19:43 +00:00
[PROJ4] Add search path for sqlite.exe (#11086)
* Add additional search path * Update ports/proj4/portfile.cmake Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
parent
9574e60a26
commit
552f508ffc
@ -33,6 +33,8 @@ if ("database" IN_LIST FEATURES)
|
||||
set(SQLITE3_BIN_PATH ${CURRENT_INSTALLED_DIR}/../x64-windows/tools)
|
||||
elseif (EXISTS ${CURRENT_INSTALLED_DIR}/../x64-windows-static/tools/sqlite3.exe AND (NOT CMAKE_HOST_SYSTEM_PROCESSOR OR CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64"))
|
||||
set(SQLITE3_BIN_PATH ${CURRENT_INSTALLED_DIR}/../x64-windows-static/tools)
|
||||
elseif (NOT TRIPLET_SYSTEM_ARCH STREQUAL "arm" AND EXISTS ${CURRENT_INSTALLED_DIR}/tools/sqlite3.exe)
|
||||
set(SQLITE3_BIN_PATH ${CURRENT_INSTALLED_DIR}/tools)
|
||||
else()
|
||||
message(FATAL_ERROR "Proj4 database need to install sqlite3[tool]:x86-windows first.")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user