commit
a044ec16a9
|
@ -160,8 +160,8 @@ if(${TESTS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# TODO: provide data files as git submodule
|
# TODO: provide data files as git submodule
|
||||||
set(COLOBOT_DATA_DIR ${CMAKE_INSTALL_PREFIX}/share/games/colobot CACHE PATH "Colobot shared data directory")
|
set(COLOBOT_DATA_DIR share/games/colobot CACHE PATH "Colobot shared data directory")
|
||||||
set(COLOBOT_LIB_DIR ${CMAKE_INSTALL_PREFIX}/lib/colobot CACHE PATH "Colobot libraries directory")
|
set(COLOBOT_LIB_DIR lib/colobot CACHE PATH "Colobot libraries directory")
|
||||||
|
|
||||||
# Subdirectory with sources
|
# Subdirectory with sources
|
||||||
add_subdirectory(src bin)
|
add_subdirectory(src bin)
|
||||||
|
|
|
@ -18,4 +18,4 @@ else()
|
||||||
add_library(CBot SHARED ${SOURCES})
|
add_library(CBot SHARED ${SOURCES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS CBot LIBRARY DESTINATION "${COLOBOT_LIB_DIR}")
|
install(TARGETS CBot LIBRARY DESTINATION ${COLOBOT_LIB_DIR})
|
||||||
|
|
Loading…
Reference in New Issue