mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-22 00:05:37 +08:00
WIP on vcpkg integration
This commit is contained in:
10
vcpkg-triplets/x64-linux-glibc.cmake
Normal file
10
vcpkg-triplets/x64-linux-glibc.cmake
Normal file
@@ -0,0 +1,10 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE static)
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
set(VCPKG_CMAKE_SYSTEM_NAME Linux)
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
|
||||
set(VCPKG_C_FLAGS "-fPIC -fPIE")
|
||||
set(VCPKG_CXX_FLAGS "-fPIC -fPIE")
|
||||
|
||||
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/x64-linux-glibc-toolchain.cmake")
|
||||
Reference in New Issue
Block a user