CMake: Disable install targets on Windows

This commit is contained in:
Joshua Vandaële
2026-05-03 16:26:36 +02:00
parent 8366609fc1
commit fa83b0fe49
4 changed files with 8 additions and 5 deletions

View File

@@ -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()