diff options
| -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 | ||||
| -rw-r--r-- | Source/DSPTool/CMakeLists.txt | 2 |
4 files changed, 8 insertions, 5 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() diff --git a/Source/DSPTool/CMakeLists.txt b/Source/DSPTool/CMakeLists.txt index 7656bc8ce6..fb0cc41bcb 100644 --- a/Source/DSPTool/CMakeLists.txt +++ b/Source/DSPTool/CMakeLists.txt @@ -1,5 +1,5 @@ add_executable(dsptool DSPTool.cpp StubHost.cpp) target_link_libraries(dsptool core) -if(NOT APPLE) +if(NOT APPLE AND NOT WIN32) install(TARGETS dsptool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif() |
