Make sure that make install grabs the correct binaries
This commit is contained in:
parent
8ea64f66ce
commit
a3d47158af
|
@ -70,7 +70,7 @@ TARGET_LINK_LIBRARIES (
|
|||
${GTKGLMM_LIBRARIES}
|
||||
)
|
||||
|
||||
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/gvbam DESTINATION bin)
|
||||
INSTALL(PROGRAMS ${PROJECT_BINARY_DIR}/gvbam DESTINATION bin)
|
||||
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ui DESTINATION ${DATA_INSTALL_DIR})
|
||||
IF(NOT WIN32 AND NOT APPLE)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/gvbam.desktop DESTINATION share/applications)
|
||||
|
|
|
@ -173,7 +173,7 @@ TARGET_LINK_LIBRARIES (
|
|||
${CAIRO_LIBRARIES}
|
||||
)
|
||||
|
||||
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/wxvbam DESTINATION bin)
|
||||
INSTALL(PROGRAMS ${PROJECT_BINARY_DIR}/wxvbam DESTINATION bin)
|
||||
IF(NOT WIN32 AND NOT APPLE)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/wxvbam.desktop DESTINATION share/applications)
|
||||
ENDIF(NOT WIN32 AND NOT APPLE)
|
||||
|
@ -184,7 +184,7 @@ if(APPLE)
|
|||
# this should set ROM file types correctly
|
||||
SET_PROPERTY(TARGET wxvbam APPEND PROPERTY MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/wxplist.in)
|
||||
#Handle the program icon
|
||||
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/../art/wxvbam.icns DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/../art/wxvbam.icns DESTINATION ${PROJECT_BINARY_DIR})
|
||||
SET(MACOSX_BUNDLE_ICON_FILE wxvbam.icns)
|
||||
SET_SOURCE_FILES_PROPERTIES(wxvbam.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||
endif(APPLE)
|
||||
|
|
Loading…
Reference in New Issue