From: Christoph Egger Date: Fri, 20 Feb 2015 11:36:20 +0000 (+0100) Subject: Fix CMakeList X-Git-Tag: v0.1~103 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=bc07dbf3889f93f65c4b73f911aa280afdd906fb;p=frida%2Ffrida.git Fix CMakeList --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d811d5..6ee8b0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) find_package(Qt5Widgets) find_package(Qt5 CONFIG REQUIRED Widgets Gui) +find_package(QuaZip REQUIRED) find_package(PkgConfig) pkg_check_modules(LOG4CXX REQUIRED liblog4cxx) pkg_check_modules(GUILE REQUIRED guile-2.0) @@ -47,7 +48,7 @@ SET(frida_SOURCES src/gui/widgets/CFGScene.cxx src/gui/widgets/ScriptingDock.cxx src/gui/dialogs/NewFunctionDialog.cxx - src/gui/dialogs/RenameFunctionDialog.cxx + src/gui/dialogs/SimpleStringDialog.cxx src/disassembler/Disassembler.cxx src/disassembler/llvm/LLVMDisassembler.cxx ) @@ -60,7 +61,7 @@ SET(frida_HEADERS src/gui/widgets/CFGScene.hxx src/gui/widgets/ScriptingDock.hxx src/gui/dialogs/NewFunctionDialog.hxx - src/gui/dialogs/RenameFunctionDialog.hxx + src/gui/dialogs/SimpleStringDialog.hxx src/disassembler/llvm/LLVMDisassembler.hxx src/disassembler/Disassembler.hxx ) @@ -73,7 +74,7 @@ ADD_DEFINITIONS(${QT_DEFINITIONS}) qt5_use_modules(frida Widgets) INCLUDE_DIRECTORIES("src") -TARGET_LINK_LIBRARIES(frida ${QT_LIBRARIES} ${LLVM_LDFLAGS} -lLLVM-3.5 ${LLVM_SYSTEM_LIBS} ${LOG4CXX_LDFLAGS} ${GUILE_LDFLAGS}) +TARGET_LINK_LIBRARIES(frida ${QT_LIBRARIES} ${LLVM_LDFLAGS} -lLLVM-3.5 ${LLVM_SYSTEM_LIBS} ${LOG4CXX_LDFLAGS} ${GUILE_LDFLAGS} ${QUAZIP_LIBRARIES}) ################## # TEST Framework # @@ -88,4 +89,4 @@ add_executable(fridatest ${fridatest_SOURCES}) ADD_SUBDIRECTORY(/usr/src/gmock gmock) enable_testing() target_link_libraries(fridatest gmock gtest gmock_main) -add_test( fridatest fridatest ) \ No newline at end of file +add_test( fridatest fridatest )