]> git.siccegge.de Git - frida/frida.git/commitdiff
Only use cmake 2.8.9 subset
authorChristoph Egger <siccegge@stud.informatik.uni-erlangen.de>
Wed, 14 May 2014 09:12:46 +0000 (11:12 +0200)
committerChristoph Egger <siccegge@stud.informatik.uni-erlangen.de>
Wed, 14 May 2014 09:12:46 +0000 (11:12 +0200)
CMakeLists.txt

index c1ef103a5de1dbd2fbbdcf796f12741f421fa9a2..4e3f16d2bb1ec9bc1ad1766e8e9419f865ac9bfb 100644 (file)
@@ -11,15 +11,16 @@ find_package(Qt5 CONFIG REQUIRED Widgets Gui)
 find_package(PkgConfig)
 pkg_check_modules(LOG4CXX REQUIRED liblog4cxx)
 
-add_compile_options(${LOG4CXX_CFLAGS})
+#add_compile_options(${LOG4CXX_CFLAGS})
+add_definitions(${LOG4CXX_CFLAGS})
 
 execute_process(COMMAND llvm-config-3.4 --cflags  OUTPUT_VARIABLE LLVM_CFLAGS  OUTPUT_STRIP_TRAILING_WHITESPACE)
 execute_process(COMMAND llvm-config-3.4 --ldflags OUTPUT_VARIABLE LLVM_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE)
 execute_process(COMMAND llvm-config-3.4 --libs    OUTPUT_VARIABLE LLVM_LIBS    OUTPUT_STRIP_TRAILING_WHITESPACE)
 
 separate_arguments(LLVM_CFLAGS)
-add_compile_options(${LLVM_CFLAGS})
-add_compile_options(-std=c++11 -Wall)
+add_definitions(${LLVM_CFLAGS})
+add_definitions(-std=c++11 -Wall)
 
 separate_arguments(LLVM_LDFLAGS)
 separate_arguments(LLVM_LIBS)