From: Christoph Egger Date: Wed, 14 May 2014 09:13:05 +0000 (+0200) Subject: use generic llvm version X-Git-Tag: v0.1~223 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=8dad2658cea308b46d461f54743d8603eaf3223d;p=frida%2Ffrida.git use generic llvm version --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e3f16d..18a52b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,9 +14,9 @@ pkg_check_modules(LOG4CXX REQUIRED liblog4cxx) #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) +execute_process(COMMAND llvm-config --cxxflags OUTPUT_VARIABLE LLVM_CFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE) +execute_process(COMMAND llvm-config --ldflags OUTPUT_VARIABLE LLVM_LDFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE) +execute_process(COMMAND llvm-config --libs OUTPUT_VARIABLE LLVM_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE) separate_arguments(LLVM_CFLAGS) add_definitions(${LLVM_CFLAGS})