When passing on CMAKE_<LANG>_COMPILER_TARGET and
CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN it is important that the
selection of those via CMAKE_C_COMPILE_OPTIONS_TARGET/EXTERNAL_TOOLCHAIN
is done without a space inbetween. For example COMPILE_OPTIONS_TARGET is
with clang a simple --target= and so the selected target must follow
without a space, so that we get --target=foo-bar instead of --target=
foo bar, which the compiler does not parse as intended.
* Build static libgit2 with dynamic CRT on Windows
* [vcpkg-triplets] Revert changes to built-in triplets
* [libgit2] Simplify computation of STATIC_CRT
* [yara] Remove Windows-only assumptions in CMakeLists.txt
Fixes x64-linux build. Addresses GitHub vcpkg issue #4411.
Defines `libyara_dependencies` and `libyara_definitions` CMake variables
to simplify calls to `target_link_libraries` and
`target_compile_definitions`, respectively.
Replaces `USE_WINDOWS_PROC` definition with platform-specific definition
(e.g., `USE_LINUX_PROC`) based on how `proc_interface` is defined in
configure.ac. Currently supports only Windows, Linux, and Darwin.
Replaces libyara/proc/windows.c source file with platform-specific
source file from libyara/proc.
Adds missing libyara/endian.c and libyara/stopwatch.c source files to
`libyara_sources` variable. Addresses missing byte-swap symbols
(`_yr_bswap16`, `_yr_bswap32`, and `_yr_bswap64`).
Adds `find_package` call for `Threads`, setting pthread as preferred
threads library in Linux. Adds `Threads::Threads` as a libyara dependency.
Addresses missing thread and semaphore symbols.
Adds `m` (math library) as a dependency if building with GCC to address
missing `log2` symbol.
* [yara] Bump control version
* Update to 4.13 and minimize the qt5 dependency.
* [cgal] Fix license installation for new git repo layout
* [cgal] Remove vcpkg_test_cmake until x64 can be fixed
* [libarchive] Update to version 3.3.3, add feature support
* [libarchive] Mark features as default to mimic previous behavior. To not install them, use `libarchive[core]`.
* [curl] fix build failure when VCPKG_BUILD_TYPE is set
* [libmysql] fix build failure when VCPKG_BUILD_TYPE is set
* [openssl-windows] use VCPKG_BUILD_TYPE to build release or debug only
* [icu] use VCPKG_BUILD_TYPE to build release or debug only
* [gdal] use VCPKG_BUILD_TYPE to build release or debug only
* bump versions of curl, gdal, icu, libmysql and openssl-windows
ChakraCore can only dynamically link against MSVCRT currently. To work
around this it's best just to statically link the CRT like official
builds do.
Refs: https://github.com/Microsoft/ChakraCore/issues/5725