cmake: Use an install target for visualboyadvance-m.
This commit is contained in:
parent
369da07e7f
commit
518c147281
|
@ -983,7 +983,6 @@ endif()
|
||||||
|
|
||||||
if(ENABLE_WX)
|
if(ENABLE_WX)
|
||||||
add_subdirectory(src/wx)
|
add_subdirectory(src/wx)
|
||||||
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/visualboyadvance-m${CMAKE_EXECUTABLE_SUFFIX} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_WX)
|
if(ENABLE_WX)
|
||||||
|
|
|
@ -838,3 +838,9 @@ if(APPLE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(WX_EXE_NAME visualboyadvance-m-wx${CMAKE_EXECUTABLE_SUFFIX})
|
set(WX_EXE_NAME visualboyadvance-m-wx${CMAKE_EXECUTABLE_SUFFIX})
|
||||||
|
|
||||||
|
install(
|
||||||
|
TARGETS visualboyadvance-m
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue