From: Perttu Ahola Date: Mon, 28 Nov 2011 19:14:55 +0000 (+0200) Subject: Update installation in CMakeLists.txt X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=a91eb362777152b21dcd2c49788c1b5714f8792e;p=zefram%2Fminetest%2Fminetest_engine.git Update installation in CMakeLists.txt --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8c966a69..b714e89f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -302,13 +302,15 @@ endif() # # Example configuration file -install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../minetest.conf.example" DESTINATION ${EXAMPLE_CONF_DIR}) +# NOTE: Install is handled elsewhere +#install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../minetest.conf.example" DESTINATION ${EXAMPLE_CONF_DIR}) if(BUILD_CLIENT) install(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR}) - file(GLOB images "${CMAKE_CURRENT_SOURCE_DIR}/../data/textures/*.png") - install(FILES ${images} DESTINATION ${DATADIR}/textures) + #file(GLOB images "${CMAKE_CURRENT_SOURCE_DIR}/../data/textures/*.png") + #install(FILES ${images} DESTINATION ${DATADIR}/textures) + install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../data" DESTINATION ${DATADIR}) if(USE_GETTEXT) foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})