mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-09 04:13:28 -05:00
CMake: Disable install targets on Windows
This commit is contained in:
parent
b35f83bdcf
commit
dbff1d7820
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user