CMakeLists.txt
changeset 11746 72f0c8a73080
parent 11745 bb704a0f564d
child 11796 3127b0fece81
--- a/CMakeLists.txt	Wed Apr 27 01:03:15 2016 -0400
+++ b/CMakeLists.txt	Wed Apr 27 01:12:37 2016 -0400
@@ -65,6 +65,9 @@
     set(NOSERVER ON CACHE STRING "Required for BUILD_ENGINE_JS" FORCE)
     set(GL2 ON CACHE STRING "Required for BUILD_ENGINE_JS" FORCE)
     set(BUILD_SHARED_LIBS OFF CACHE STRING "Required for BUILD_ENGINE_JS" FORCE)
+
+    set(target_binary_install_dir "bin" CACHE PATH "install dest for binaries")
+    set(target_library_install_dir "lib" CACHE PATH "install dest for libs")
 endif()
 
 #system paths for finding required fonts (see share/hedgewars/Data/fonts)