Set install dir for emscripten
authorkoda
Wed, 27 Apr 2016 01:12:37 -0400
changeset 11741 72f0c8a73080
parent 11740 bb704a0f564d
child 11742 35d1654b3c9a
Set install dir for emscripten While not required, should help compatibility with older cmake versions.
CMakeLists.txt
--- 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)