aboutsummaryrefslogtreecommitdiff
path: root/ports/libcds/lib-suffix-option.patch
blob: eeb2f3e2e2e19083e504b382e343b6383843b8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e891aee..9f12295 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,7 +125,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
 
     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