mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 11:33:55 -07:00
Make install paths relative to prepare for CPack
This commit is contained in:
parent
dfdfe60202
commit
eca318c34d
5 changed files with 24 additions and 53 deletions
|
|
@ -6,11 +6,11 @@ FILE(GLOB zonebg "${CMAKE_CURRENT_SOURCE_DIR}/*.*")
|
|||
|
||||
if(UNIX)
|
||||
if(APPLE)
|
||||
INSTALL(FILES ${zonebg} DESTINATION ${CMAKE_INSTALL_PREFIX}/zonebg)
|
||||
INSTALL(FILES ${zonebg} DESTINATION zonebg/)
|
||||
else()
|
||||
# Assume linux
|
||||
INSTALL(FILES ${zonebg} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cockatrice/zonebg)
|
||||
INSTALL(FILES ${zonebg} DESTINATION share/cockatrice/zonebg/)
|
||||
endif()
|
||||
elseif(WIN32)
|
||||
INSTALL(FILES ${zonebg} DESTINATION ${CMAKE_INSTALL_PREFIX}/zonebg)
|
||||
INSTALL(FILES ${zonebg} DESTINATION zonebg/)
|
||||
endif()
|
||||
Loading…
Add table
Add a link
Reference in a new issue