diff options
| author | Joshua Vandaƫle <joshua@vandaele.software> | 2026-05-03 16:26:36 +0200 |
|---|---|---|
| committer | Joshua Vandaƫle <joshua@vandaele.software> | 2026-07-24 03:45:13 +0200 |
| commit | fa83b0fe49a1979732e2f573c965efea9db10916 (patch) | |
| tree | 01a19b8bda60107096d477de83a49322e56a2bd3 /Source/Core | |
| parent | 8366609fc1b7493861db11b236ad4b2b9b5cdb2a (diff) | |
CMake: Disable install targets on Windows
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinNoGUI/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | Source/Core/DolphinQt/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | Source/Core/DolphinTool/CMakeLists.txt | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/Source/Core/DolphinNoGUI/CMakeLists.txt b/Source/Core/DolphinNoGUI/CMakeLists.txt index 9dad1b5f86..51c3fff708 100644 --- a/Source/Core/DolphinNoGUI/CMakeLists.txt +++ b/Source/Core/DolphinNoGUI/CMakeLists.txt @@ -65,5 +65,6 @@ if(USE_DISCORD_PRESENCE) endif() set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-nogui) -install(TARGETS dolphin-nogui RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) - +if (NOT WIN32) + install(TARGETS dolphin-nogui RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt index 2b7e6bb949..2e02eda5c3 100644 --- a/Source/Core/DolphinQt/CMakeLists.txt +++ b/Source/Core/DolphinQt/CMakeLists.txt @@ -701,7 +701,7 @@ if(APPLE) "$<TARGET_BUNDLE_DIR:dolphin-emu>" ) endif() -else() +elseif (NOT WIN32) install(TARGETS dolphin-emu RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif() diff --git a/Source/Core/DolphinTool/CMakeLists.txt b/Source/Core/DolphinTool/CMakeLists.txt index 562ba1dc0a..cbc15fe85f 100644 --- a/Source/Core/DolphinTool/CMakeLists.txt +++ b/Source/Core/DolphinTool/CMakeLists.txt @@ -34,4 +34,6 @@ if(MSVC) endif() set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-tool) -install(TARGETS dolphin-tool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) +if (NOT WIN32) + install(TARGETS dolphin-tool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) +endif() |
