From a8a76496e0d507f058eb070292d315913a88a36b Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 24 Apr 2024 20:12:56 -0400 Subject: [PATCH] Call install on more executables --- argcracker/CMakeLists.txt | 6 +++++- armoury/CMakeLists.txt | 4 ++++ common/CMakeLists.txt | 4 ++++ karuku/CMakeLists.txt | 4 ++++ launcher/CMakeLists.txt | 6 +++++- mapeditor/CMakeLists.txt | 4 ++++ sagasu/CMakeLists.txt | 4 ++++ 7 files changed, 30 insertions(+), 2 deletions(-) diff --git a/argcracker/CMakeLists.txt b/argcracker/CMakeLists.txt index df8ba14..2367e74 100644 --- a/argcracker/CMakeLists.txt +++ b/argcracker/CMakeLists.txt @@ -23,4 +23,8 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") target_compile_definitions(novus-argcracker PUBLIC LINUX) endif () -install(TARGETS novus-argcracker ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) \ No newline at end of file +install(TARGETS novus-argcracker ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) + +if (WIN32) + install(FILES $ DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() \ No newline at end of file diff --git a/armoury/CMakeLists.txt b/armoury/CMakeLists.txt index a6201f6..9269ba5 100644 --- a/armoury/CMakeLists.txt +++ b/armoury/CMakeLists.txt @@ -52,3 +52,7 @@ target_link_libraries(novus-armoury install(FILES zone.xiv.armoury.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES zone.xiv.armoury.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps) install(TARGETS novus-armoury ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) + +if (WIN32) + install(FILES $ DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() \ No newline at end of file diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 5bf72ea..f12e558 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -37,3 +37,7 @@ target_link_libraries(novus-common target_compile_definitions(novus-common PRIVATE TRANSLATION_DOMAIN="novus") add_library(Novus::Common ALIAS novus-common) + +if (WIN32) + install(FILES $ DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() \ No newline at end of file diff --git a/karuku/CMakeLists.txt b/karuku/CMakeLists.txt index 4d1ebe0..46886fb 100644 --- a/karuku/CMakeLists.txt +++ b/karuku/CMakeLists.txt @@ -27,3 +27,7 @@ target_link_libraries(novus-karuku install(FILES zone.xiv.karaku.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES zone.xiv.karaku.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps) install(TARGETS novus-karuku ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) + +if (WIN32) + install(FILES $ DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() \ No newline at end of file diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index 451dd8c..e02a8a6 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -18,4 +18,8 @@ target_include_directories(novus-launcher PUBLIC include) install(FILES zone.xiv.novus.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES zone.xiv.novus.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps) -install(TARGETS novus-launcher ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) \ No newline at end of file +install(TARGETS novus-launcher ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) + +if (WIN32) + install(FILES $ DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() \ No newline at end of file diff --git a/mapeditor/CMakeLists.txt b/mapeditor/CMakeLists.txt index 20a6d40..ced4352 100644 --- a/mapeditor/CMakeLists.txt +++ b/mapeditor/CMakeLists.txt @@ -27,3 +27,7 @@ target_link_libraries(novus-mapeditor install(FILES zone.xiv.mapeditor.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES zone.xiv.mapeditor.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps) install(TARGETS novus-mapeditor ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) + +if (WIN32) + install(FILES $ DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() \ No newline at end of file diff --git a/sagasu/CMakeLists.txt b/sagasu/CMakeLists.txt index 4c4b739..c6f4532 100644 --- a/sagasu/CMakeLists.txt +++ b/sagasu/CMakeLists.txt @@ -51,3 +51,7 @@ target_link_libraries(novus-sagasu install(FILES zone.xiv.sagasu.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES zone.xiv.sagasu.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps) install(TARGETS novus-sagasu ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS}) + +if (WIN32) + install(FILES $ DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() \ No newline at end of file