diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-14 13:09:14 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-14 13:14:45 +0100 |
commit | 08b975293c356f7a39ca28aa5bc243fe3281d361 (patch) | |
tree | daac674d35e3849af0677f75cfe94bc705f13c24 /common/CMakeLists.txt | |
parent | e593cb6acf0d66eb363690be00dddeeeb97d9b11 (diff) | |
download | sink-08b975293c356f7a39ca28aa5bc243fe3281d361.tar.gz sink-08b975293c356f7a39ca28aa5bc243fe3281d361.zip |
compile ixes, make akonadi2common an actual shared lib
Diffstat (limited to 'common/CMakeLists.txt')
-rw-r--r-- | common/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index dc9a670..c0cc7d9 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt | |||
@@ -16,8 +16,8 @@ set(command_SRCS | |||
16 | storage_common.cpp | 16 | storage_common.cpp |
17 | ${storage_SRCS}) | 17 | ${storage_SRCS}) |
18 | 18 | ||
19 | message("We have: ${storage_SRCS}") | 19 | add_library(${PROJECT_NAME} SHARED ${command_SRCS}) |
20 | add_library(${PROJECT_NAME} ${command_SRCS}) | 20 | generate_export_header(${PROJECT_NAME} BASE_NAME Akonadi2Common EXPORT_FILE_NAME akonadi2common_export.h) |
21 | SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX) | 21 | SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX) |
22 | qt5_use_modules(${PROJECT_NAME} Widgets) | 22 | qt5_use_modules(${PROJECT_NAME} Widgets) |
23 | target_link_libraries(${PROJECT_NAME} ${storage_LIBS}) | 23 | target_link_libraries(${PROJECT_NAME} ${storage_LIBS}) |