cmake: Don't install visualboyadvance-m twice on WIN32.
This commit is contained in:
parent
518c147281
commit
4e9882f24d
|
@ -751,7 +751,6 @@ add_executable(
|
|||
${CM_STUFF}
|
||||
)
|
||||
|
||||
|
||||
target_link_libraries(
|
||||
visualboyadvance-m
|
||||
${VBAMCORE_LIBS}
|
||||
|
@ -805,10 +804,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
install(PROGRAMS ${PROJECT_BINARY_DIR}/visualboyadvance-m${CMAKE_EXECUTABLE_SUFFIX} DESTINATION ${CMAKE_BINARY_DIR})
|
||||
endif()
|
||||
|
||||
if(NOT WIN32 AND NOT APPLE)
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/wxvbam.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
|
||||
endif()
|
||||
|
@ -837,8 +832,6 @@ if(APPLE)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
set(WX_EXE_NAME visualboyadvance-m-wx${CMAKE_EXECUTABLE_SUFFIX})
|
||||
|
||||
install(
|
||||
TARGETS visualboyadvance-m
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
|
|
Loading…
Reference in New Issue