Added "make install" target.
parent
602273e04a
commit
b7667cef35
|
@ -131,3 +131,5 @@ endif()
|
|||
|
||||
# Subdirectory with sources
|
||||
add_subdirectory(src bin)
|
||||
|
||||
INSTALL_FILES(/share/games/colobot ../data)
|
||||
|
|
|
@ -17,3 +17,5 @@ if(${CBOT_STATIC})
|
|||
else()
|
||||
add_library(CBot SHARED ${SOURCES})
|
||||
endif()
|
||||
|
||||
INSTALL_TARGETS(/lib CBot)
|
||||
|
|
|
@ -192,3 +192,5 @@ link_directories(${CMAKE_CURRENT_SOURCE_DIR}/CBot)
|
|||
add_executable(colobot ${SOURCES})
|
||||
|
||||
target_link_libraries(colobot ${LIBS})
|
||||
|
||||
INSTALL_TARGETS(/games colobot)
|
||||
|
|
Loading…
Reference in New Issue