From b08863db1ac2514d2ce9bab4f7606e4ce21d2139 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 10 Dec 2017 12:58:34 -0500 Subject: Escape the shared build flags for CMake It needs this for Windows with its declspec syntax --- src/build-data/cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/build-data/cmake.in') 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 $<$>:${COMPILER_FEATURES_RELEASE}> $<$:${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) -- cgit v1.2.3