diff options
author | Alex Merry <alex.merry@kde.org> | 2014-03-23 14:38:14 +0000 |
---|---|---|
committer | Alex Merry <alex.merry@kde.org> | 2014-03-24 11:49:49 +0000 |
commit | 892e693f616297a91835d3d79353926b96bd1201 (patch) | |
tree | 1e6ab41eceafae9f65d997cb3b0959e6e66c961f /src | |
parent | a9ac60da055e108d153e265190ebd870cecb9f6f (diff) | |
download | kconfig-892e693f616297a91835d3d79353926b96bd1201.tar.gz kconfig-892e693f616297a91835d3d79353926b96bd1201.tar.bz2 |
Rename the kconfig_compiler_kf5 target to kconfig_compiler
Just because the executable has the "_kf5" suffix, that does not mean
the target should have it. This is ugly API, and will be unnecessary
porting effort for KF6.
REVIEW: 116995
Diffstat (limited to 'src')
-rw-r--r-- | src/kconfig_compiler/CMakeLists.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/kconfig_compiler/CMakeLists.txt b/src/kconfig_compiler/CMakeLists.txt index 1fbb4824..24bced26 100644 --- a/src/kconfig_compiler/CMakeLists.txt +++ b/src/kconfig_compiler/CMakeLists.txt @@ -3,11 +3,14 @@ set(kconfig_compiler_SRCS kconfig_compiler.cpp) -add_executable(kconfig_compiler_kf5 ${kconfig_compiler_SRCS}) -add_executable(KF5::kconfig_compiler_kf5 ALIAS kconfig_compiler_kf5) +add_executable(kconfig_compiler ${kconfig_compiler_SRCS}) +set_target_properties(kconfig_compiler PROPERTIES + OUTPUT_NAME "kconfig_compiler_kf5" +) +add_executable(KF5::kconfig_compiler ALIAS kconfig_compiler) find_package(Qt5Xml 5.2.0 REQUIRED NO_MODULE) -target_link_libraries(kconfig_compiler_kf5 Qt5::Xml) +target_link_libraries(kconfig_compiler Qt5::Xml) -install(TARGETS kconfig_compiler_kf5 EXPORT KF5ConfigTargets ${INSTALL_TARGETS_DEFAULT_ARGS} ) +install(TARGETS kconfig_compiler EXPORT KF5ConfigTargets ${INSTALL_TARGETS_DEFAULT_ARGS}) |