Changeset View
Changeset View
Standalone View
Standalone View
formatter/CMakeLists.txt
Show All 21 Lines | |||||
22 | ) | 22 | ) | ||
23 | 23 | | |||
24 | generate_export_header(Formatter) | 24 | generate_export_header(Formatter) | ||
25 | 25 | | |||
26 | set_target_properties(Formatter PROPERTIES | 26 | set_target_properties(Formatter PROPERTIES | ||
27 | LIBRARY_OUTPUT_NAME KSysGuardFormatter | 27 | LIBRARY_OUTPUT_NAME KSysGuardFormatter | ||
28 | VERSION ${KSYSGUARD_VERSION_STRING} | 28 | VERSION ${KSYSGUARD_VERSION_STRING} | ||
29 | SOVERSION ${Formatter_SOVERSION} | 29 | SOVERSION ${Formatter_SOVERSION} | ||
30 | PUBLIC_HEADER "${formatter_HDRS};${CMAKE_CURRENT_BINARY_DIR}/formatter_export.h" | | |||
31 | ) | 30 | ) | ||
32 | 31 | | |||
33 | add_subdirectory(declarative) | 32 | add_subdirectory(declarative) | ||
34 | 33 | | |||
35 | install(TARGETS Formatter EXPORT libksysguardLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 34 | install(TARGETS Formatter EXPORT libksysguardLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
36 | install(TARGETS Formatter PUBLIC_HEADER DESTINATION ${KDE_INSTALL_INCLUDEDIR}/ksysguard/formatter) | 35 | install(FILES | ||
36 | ${formatter_HDRS} | ||||
37 | ${CMAKE_CURRENT_BINARY_DIR}/formatter_export.h | ||||
38 | DESTINATION ${KDE_INSTALL_INCLUDEDIR}/ksysguard/formatter | ||||
39 | ) |