Added executable extension

* Allows the SDL binary to be installed if it's cross compiled from
within linux or macOS for windows for packaging purposes.
This commit is contained in:
ZachBacon 2017-09-22 02:46:20 -04:00
parent e9a86c541d
commit 75ef0aa26d
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ IF( ENABLE_SDL )
${WIN32_LIBRARIES}
${LIRC_CLIENT_LIBRARY}
)
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/vbam DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/vbam${CMAKE_EXECUTABLE_SUFFIX} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
IF( WIN32 )
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/sdl/vbam.cfg-example