summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2012-12-18 03:45:06 -0800
committerkrzys-h <krzys_h@interia.pl>2012-12-18 03:45:06 -0800
commita044ec16a9877a4f80bed3efde1536598b287b03 (patch)
treef77333ccf6c9ceddc4a5fdf4c00a4cdb9ec047fb
parent1c473c3a8221e12578f1bab5fd317797b99168c5 (diff)
parenta7d837460f5eeba060900031322d088ba330964c (diff)
downloadcolobot-a044ec16a9877a4f80bed3efde1536598b287b03.tar.gz
colobot-a044ec16a9877a4f80bed3efde1536598b287b03.tar.bz2
colobot-a044ec16a9877a4f80bed3efde1536598b287b03.zip
Merge pull request #97 from OdyX/dev-minor-cmake-grammar-fix
Minor cmake grammar fix
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/CBot/CMakeLists.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d12d509..4640db6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -160,8 +160,8 @@ if(${TESTS})
endif()
# 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_LIB_DIR ${CMAKE_INSTALL_PREFIX}/lib/colobot CACHE PATH "Colobot libraries directory")
+set(COLOBOT_DATA_DIR share/games/colobot CACHE PATH "Colobot shared data directory")
+set(COLOBOT_LIB_DIR lib/colobot CACHE PATH "Colobot libraries directory")
# Subdirectory with sources
add_subdirectory(src bin)
diff --git a/src/CBot/CMakeLists.txt b/src/CBot/CMakeLists.txt
index 12d7262..e1c9b87 100644
--- a/src/CBot/CMakeLists.txt
+++ b/src/CBot/CMakeLists.txt
@@ -18,4 +18,4 @@ else()
add_library(CBot SHARED ${SOURCES})
endif()
-install(TARGETS CBot LIBRARY DESTINATION "${COLOBOT_LIB_DIR}")
+install(TARGETS CBot LIBRARY DESTINATION ${COLOBOT_LIB_DIR})