Changeset View
Changeset View
Standalone View
Standalone View
src/kstyle/CMakeLists.txt
1 | # create a Config.cmake and a ConfigVersion.cmake file and install them | 1 | # create a Config.cmake and a ConfigVersion.cmake file and install them | ||
---|---|---|---|---|---|
2 | set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Style") | 2 | set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Style") | ||
3 | 3 | | |||
4 | configure_file(config-kstyle.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kstyle.h ) | | |||
5 | | ||||
6 | remove_definitions(-DQT_NO_CAST_FROM_ASCII) | 4 | remove_definitions(-DQT_NO_CAST_FROM_ASCII) | ||
7 | 5 | | |||
8 | add_library(KF5Style kstyle.cpp) | 6 | add_library(KF5Style kstyle.cpp) | ||
9 | generate_export_header(KF5Style BASE_NAME KStyle) | 7 | generate_export_header(KF5Style BASE_NAME KStyle) | ||
10 | add_library(KF5::Style ALIAS KF5Style) | 8 | add_library(KF5::Style ALIAS KF5Style) | ||
11 | 9 | | |||
12 | target_include_directories(KF5Style INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KStyle>") | 10 | target_include_directories(KF5Style INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KStyle>") | ||
13 | 11 | | |||
Show All 28 Lines |