summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-02 22:40:51 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-02 22:40:51 +0200
commit6e311bc05d707649729a7463d261ccd4b2694711 (patch)
tree3021811195b85f2dc227bdeaaacf0fe1b9c2ba87
parent5c8eebb3ecf96187995fc55570101c1000c56490 (diff)
downloadkube-6e311bc05d707649729a7463d261ccd4b2694711.tar.gz
kube-6e311bc05d707649729a7463d261ccd4b2694711.zip
No need to install a shared library if we only use it internally.
And that keeps us from having to export stuff from the library for windows to work.
-rw-r--r--framework/src/domain/mime/mimetreeparser/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/CMakeLists.txt b/framework/src/domain/mime/mimetreeparser/CMakeLists.txt
index 310e78a7..b35bd958 100644
--- a/framework/src/domain/mime/mimetreeparser/CMakeLists.txt
+++ b/framework/src/domain/mime/mimetreeparser/CMakeLists.txt
@@ -40,7 +40,7 @@ set(libmimetreeparser_SRCS
40 util.cpp 40 util.cpp
41 ) 41 )
42 42
43add_library(kube_otp ${libmimetreeparser_SRCS}) 43add_library(kube_otp STATIC ${libmimetreeparser_SRCS})
44 44
45target_link_libraries(kube_otp 45target_link_libraries(kube_otp
46 PUBLIC 46 PUBLIC
@@ -54,7 +54,6 @@ target_link_libraries(kube_otp
54 KF5::Codecs 54 KF5::Codecs
55 Qt5::Gui 55 Qt5::Gui
56) 56)
57install(TARGETS kube_otp DESTINATION ${LIB_INSTALL_DIR})
58 57
59add_subdirectory(autotests) 58add_subdirectory(autotests)
60add_subdirectory(tests) 59add_subdirectory(tests)