aboutsummaryrefslogtreecommitdiff
path: root/scripts/toolchains
diff options
context:
space:
mode:
authorJaime Soto <jsoto@simverge.com>2018-10-09 03:22:07 -0400
committerRobert Schumacher <roschuma@microsoft.com>2018-10-09 00:22:07 -0700
commitc5f77be5c5815b6b4a530db24b676354e1090ae6 (patch)
treec2d1e9f5188117715b03556d984bf0bb5b5a2b02 /scripts/toolchains
parent3240aad3139d7fa1b85644406f37b1651a941c67 (diff)
downloadvcpkg-c5f77be5c5815b6b4a530db24b676354e1090ae6.tar.gz
vcpkg-c5f77be5c5815b6b4a530db24b676354e1090ae6.zip
[yara] Remove Windows-only assumptions in CMakeLists.txt (#4431)
* [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
Diffstat (limited to 'scripts/toolchains')
0 files changed, 0 insertions, 0 deletions