diff options
Diffstat (limited to 'src/Qt/CMakeLists.txt')
-rw-r--r-- | src/Qt/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Qt/CMakeLists.txt b/src/Qt/CMakeLists.txt index 3159bfc..b2849e8 100644 --- a/src/Qt/CMakeLists.txt +++ b/src/Qt/CMakeLists.txt @@ -2,12 +2,13 @@ find_package(Qt4 REQUIRED) include_directories(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR}) remove_definitions(-std=c99) -set(cpp-portage_SRCS qportagesettings.cpp qpackageproperties.cpp) -set(cpp-portage_HDRS qportagesettings.h qpackageproperties.h) +set(cpp-portage_SRCS qportagesettings.cpp qpackageproperties.cpp qlistconverter.cpp) +set(cpp-portage_HDRS qportagesettings.h qpackageproperties.h qlistconverter.h) QT4_WRAP_CPP(cpp-portage_MOC_SRCS ${cpp-portage_HDRS}) -add_library(cpp-portage qportagesettings.cpp ${cpp-portage_MOC_SRCS}) +add_library(cpp-portage SHARED qportagesettings.cpp ${cpp-portage_MOC_SRCS}) +target_link_libraries(cpp-portage c-portage ${QT_QTCORE_LIBRARY}) install(TARGETS cpp-portage DESTINATION lib) install(FILES ${cpp-portage_HDRS} DESTINATION include/cpp-portage) |