summaryrefslogtreecommitdiffstats
path: root/src/CBot
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2012-12-17 10:11:56 +0100
committerDidier Raboud <odyx@debian.org>2012-12-17 10:15:14 +0100
commite062b74a3a0081e07527ffdbf1256d775a41bce1 (patch)
tree0ccd65a52d1853db4517c9f6a52b836889cb0b17 /src/CBot
parent5a78b26f758ed0fa4b603ef086d21965e15010cd (diff)
downloadcolobot-e062b74a3a0081e07527ffdbf1256d775a41bce1.tar.gz
colobot-e062b74a3a0081e07527ffdbf1256d775a41bce1.tar.bz2
colobot-e062b74a3a0081e07527ffdbf1256d775a41bce1.zip
Install libCBot to a private directory
closes #90 - Make it configurable; - Move stanzas above the src directory inclusion, otherwise the value doesn't propagate.
Diffstat (limited to 'src/CBot')
-rw-r--r--src/CBot/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CBot/CMakeLists.txt b/src/CBot/CMakeLists.txt
index 271f2ce..12d7262 100644
--- a/src/CBot/CMakeLists.txt
+++ b/src/CBot/CMakeLists.txt
@@ -18,4 +18,4 @@ else()
add_library(CBot SHARED ${SOURCES})
endif()
-INSTALL_TARGETS(/lib CBot)
+install(TARGETS CBot LIBRARY DESTINATION "${COLOBOT_LIB_DIR}")