]> git.siccegge.de Git - frida/frida.git/commitdiff
Fix CMakeList
authorChristoph Egger <Christoph.Egger@fau.de>
Fri, 20 Feb 2015 11:36:20 +0000 (12:36 +0100)
committerChristoph Egger <Christoph.Egger@fau.de>
Fri, 20 Feb 2015 11:36:20 +0000 (12:36 +0100)
CMakeLists.txt

index 1d811d5fba00392068223496f2bc79183d70b48a..6ee8b0edf1feb66d66c2c242ee0e41f65ede6694 100644 (file)
@@ -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 )