File tree 1 file changed +4
-16
lines changed
1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,16 @@ SET(CMAKE_CXX_STANDARD 11)
17
17
18
18
option (CMAKE_ENABLE "Enable automatic path configuration" ON )
19
19
20
-
21
20
# Find includes in corresponding build directories
22
21
set (CMAKE_INCLUDE_CURRENT_DIR ON )
23
22
# Instruct CMake to run moc automatically when needed.
24
23
set (CMAKE_AUTOMOC ON )
25
24
25
+ UNSET (CMAKE_CXX_VISIBILITY_PRESET)
26
26
27
- include_directories (
28
- ${Qt5Core_INCLUDE_DIRS} )
29
- add_library (QTSignal SHARED
30
- sigwatch.cpp
31
- )
32
- target_link_libraries (QTSignal
33
- ${Qt5Core_LIBRARIES}
34
- )
27
+ include_directories (${Qt5Core_INCLUDE_DIRS} )
28
+ add_library (QTSignal STATIC sigwatch.cpp)
29
+ target_link_libraries (QTSignal ${Qt5Core_LIBRARIES} )
35
30
36
31
#option(WITH_EXAMPLE "Build example executable" ON)
37
32
#if (WITH_EXAMPLE)
@@ -40,10 +35,3 @@ target_link_libraries (QTSignal
40
35
# QTSignal
41
36
# )
42
37
#endif(WITH_EXAMPLE)
43
-
44
- INSTALL (TARGETS QTSignal
45
- RUNTIME DESTINATION ${QGIS_BIN_DIR}
46
- LIBRARY DESTINATION ${QGIS_LIB_DIR}
47
- ARCHIVE DESTINATION ${QGIS_LIB_DIR}
48
- FRAMEWORK DESTINATION ${QGIS_FW_SUBDIR}
49
- PUBLIC_HEADER DESTINATION ${QGIS_INCLUDE_DIR} )
You can’t perform that action at this time.
0 commit comments