mirror of
https://github.com/lifting-bits/remill
synced 2026-06-21 13:56:07 +00:00
CMake: update to C++20, clean up properties, optimize fetch content (#721)
- Enable C++20 on both Windows and Linux - Remove unnecessary set_property calls to silence LOCATION warnings - Replace duplicate -fPIC flags with INTERFACE_POSITION_INDEPENDENT_CODE - Set FETCHCONTENT_BASE_DIR to speed up sleigh and ghidra-fork downloads/builds - fixed: Does not match the generator used previously: Unix Makefiles,use ninja instead
This commit is contained in:
+1
-1
@@ -229,7 +229,7 @@ function Configure
|
||||
set -x
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=True \
|
||||
-GNinja \
|
||||
-DCMAKE_TOOLCHAIN_FILE="${DOWNLOAD_DIR}/${LIBRARY_VERSION}/scripts/buildsystems/vcpkg.cmake" \
|
||||
-DVCPKG_TARGET_TRIPLET="${VCPKG_TARGET_TRIPLET}" \
|
||||
${BUILD_FLAGS} \
|
||||
|
||||
Reference in New Issue
Block a user