summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold Dumas <[email protected]>2014-11-15 09:09:23 +0100
committerArnold Dumas <[email protected]>2014-11-15 09:09:23 +0100
commit7b874be662bcb0b738a8671852015ff7f1cb0170 (patch)
tree5b0d0ab9217df39effe6794cc490e9ef744fb3a5
parent589808077a67cc0aa146d53ced928ae7e468f06a (diff)
Port away from deprecated macros.
-rw-r--r--tools/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index db15232..e6e98d0 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -1,18 +1,18 @@
set(po2xmi_SRCS po2xmi.cpp shared.cpp)
-kde4_add_executable(po2xmi ${po2xmi_SRCS})
+add_executable(po2xmi ${po2xmi_SRCS})
-target_link_libraries(po2xmi ${QT_QTXML_LIBRARY} ${QT_QTCORE_LIBRARY})
+target_link_libraries(po2xmi Qt5::Xml Qt5::Core)
install(TARGETS po2xmi ${INSTALL_TARGETS_DEFAULT_ARGS})
set(xmi2pot_SRCS xmi2pot.cpp shared.cpp)
-kde4_add_executable(xmi2pot ${xmi2pot_SRCS})
+add_executable(xmi2pot ${xmi2pot_SRCS})
-target_link_libraries(xmi2pot ${QT_QTXML_LIBRARY} ${QT_QTCORE_LIBRARY})
+target_link_libraries(xmi2pot Qt5::Xml Qt5::Core)
install(TARGETS xmi2pot ${INSTALL_TARGETS_DEFAULT_ARGS})