From 08b975293c356f7a39ca28aa5bc243fe3281d361 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Sun, 14 Dec 2014 13:09:14 +0100 Subject: compile ixes, make akonadi2common an actual shared lib --- common/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/CMakeLists.txt') 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 storage_common.cpp ${storage_SRCS}) -message("We have: ${storage_SRCS}") -add_library(${PROJECT_NAME} ${command_SRCS}) +add_library(${PROJECT_NAME} SHARED ${command_SRCS}) +generate_export_header(${PROJECT_NAME} BASE_NAME Akonadi2Common EXPORT_FILE_NAME akonadi2common_export.h) SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX) qt5_use_modules(${PROJECT_NAME} Widgets) target_link_libraries(${PROJECT_NAME} ${storage_LIBS}) -- cgit v1.2.3