vcpkg/ports/libcds/002-lib-suffix-option.patch
Max Khizhinsky 61c6ef26f7 * [libcds] Update to v2.3.3 (#5274) (#5278)
* * [libcds] Update to v2.3.3 (#5274)

 * Minimum CMake version is 3.0.2
 * Changed software license from BSD to Boost
 * Removed '#pragma lib' for Windows build
 * Bugfix and minor improvements

* [libcds] Use PATCHES parameter instead of `vcpkg_apply_patches()`

* [libcds] Fix static builds
2019-03-14 15:41:16 -07:00

14 lines
559 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa287ff8..20fe7b49 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -118,7 +118,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_C
if(CMAKE_TARGET_ARCHITECTURE STREQUAL "x86_64")
list(APPEND LIBCDS_PUBLIC_CXX_FLAGS "-mcx16")
- set(LIB_SUFFIX "64")
+ set(LIB_SUFFIX "64" CACHE STRING "")
# GCC-7: 128-bit atomics support is implemented via libatomic on amd64
# see https://gcc.gnu.org/ml/gcc/2017-01/msg00167.html