aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-10 12:58:34 -0500
committerJack Lloyd <[email protected]>2017-12-10 13:39:15 -0500
commitb08863db1ac2514d2ce9bab4f7606e4ce21d2139 (patch)
tree275bc850c9b96881b6d8ed78b2ad58e7cdd904de /src
parentc03fbef1ada3e1c87edba7ca725ad3592d185b25 (diff)
Escape the shared build flags for CMake
It needs this for Windows with its declspec syntax
Diffstat (limited to 'src')
-rw-r--r--src/build-data/cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/cmake.in b/src/build-data/cmake.in
index 33c6cb962..eadf7d471 100644
--- a/src/build-data/cmake.in
+++ b/src/build-data/cmake.in
@@ -33,7 +33,7 @@ option(ENABLED_LTO "If enabled link time optimization will be used" OFF)
set(COMPILER_FEATURES_RELEASE %{cc_lang_flags} %{cc_compile_opt_flags} %{cxx_abi_opt_flags})
set(COMPILER_FEATURES_DEBUG %{cc_lang_flags} %{cc_compile_debug_flags} %{cxx_abi_debug_flags})
set(COMPILER_FEATURES $<$<NOT:$<CONFIG:DEBUG>>:${COMPILER_FEATURES_RELEASE}> $<$<CONFIG:DEBUG>:${COMPILER_FEATURES_DEBUG}>)
-set(SHARED_FEATURES %{shared_flags})
+set(SHARED_FEATURES %{cmake_shared_flags})
set(STATIC_FEATURES -DBOTAN_DLL=)
set(COMPILER_WARNINGS %{cc_warning_flags})
set(COMPILER_INCLUDE_DIRS build/include build/include/external)