Code

cmake: add \\ to string define so result is something like: -DSSL=\" sfsdf \" ...
authorjohanengelen <johanengelen@users.sourceforge.net>
Mon, 7 Apr 2008 20:12:57 +0000 (20:12 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Mon, 7 Apr 2008 20:12:57 +0000 (20:12 +0000)
CMakeScripts/ConfigCompileFlags.cmake

index 618186ae320fb08f54d587ea1a2fccfd051cbb23..bf8aab61dc05c2e62c5e75c2979005066d1b2f41 100644 (file)
@@ -19,7 +19,7 @@ ELSE(WIN32)
 ENDIF (WIN32)
 
 # for Inkboard:
-SET(DEFINE_FLAGS "${DEFINE_FLAGS} -DHAVE_SSL -DRELAYTOOL_SSL=\"static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }\" ")
+SET(DEFINE_FLAGS "${DEFINE_FLAGS} -DHAVE_SSL -DRELAYTOOL_SSL=\\\"static const int libssl_is_present=1; static int __attribute__((unused)) libssl_symbol_is_present(char *s){ return 1; }\\\" ")
 
 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMPILE_WARNING_FLAGS} ${COMPILE_OPTIMIZATION_FLAGS} ${DEFINE_FLAGS} ${COMPILE_PROFILING_FLAGS} ")
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMPILE_WARNING_FLAGS} ${COMPILE_OPTIMIZATION_FLAGS} ${DEFINE_FLAGS} ${COMPILE_PROFILING_FLAGS} ")