hopefully this fixes things for cpack

This commit is contained in:
DoctorWho11 2015-06-15 09:42:40 -04:00
parent 3389ba5cd6
commit 2baea1b8cf
1 changed files with 3 additions and 3 deletions

View File

@ -166,9 +166,9 @@ TARGET_LINK_LIBRARIES (
${DIRECTX_LIBRARIES}
${CAIRO_LIBRARIES}
)
IF(NOT APPLE AND NOT UNIX)
INSTALL(PROGRAMS ${PROJECT_BINARY_DIR}/visualboyadvance-m${CMAKE_EXECUTABLE_SUFFIX} DESTINATION bin)
ENDIF(NOT APPLE AND NOT UNIX)
IF(WIN32)
INSTALL(PROGRAMS ${PROJECT_BINARY_DIR}/visualboyadvance-m${CMAKE_EXECUTABLE_SUFFIX} DESTINATION ${CMAKE_BINARY_DIR})
ENDIF(WIN32)
IF(NOT WIN32 AND NOT APPLE)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/wxvbam.desktop DESTINATION share/applications)
ENDIF(NOT WIN32 AND NOT APPLE)