Fix installation path of minetest_game/mods (// in place of / doesn't work on virtual...
authorPerttu Ahola <celeron55@gmail.com>
Mon, 2 Apr 2012 19:50:46 +0000 (22:50 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 2 Apr 2012 19:50:46 +0000 (22:50 +0300)
CMakeLists.txt

index 92ed7dbece07748327e7b3effda4641622c9660d..29882500c18b80d94f653666c48c26f99be4827b 100644 (file)
@@ -96,7 +96,7 @@ set(MINETEST_GAME_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/games/minetest_game")
 if(EXISTS ${MINETEST_GAME_SOURCE} AND IS_DIRECTORY ${MINETEST_GAME_SOURCE})
        install(FILES ${MINETEST_GAME_SOURCE}/game.conf DESTINATION "${SHAREDIR}/games/minetest_game/")
        install(FILES ${MINETEST_GAME_SOURCE}/README.txt DESTINATION "${SHAREDIR}/games/minetest_game/")
-       install(DIRECTORY ${MINETEST_GAME_SOURCE}/mods DESTINATION "${SHAREDIR}/games/minetest_game/")
+       install(DIRECTORY ${MINETEST_GAME_SOURCE}/mods DESTINATION "${SHAREDIR}/games/minetest_game")
 endif()
 if(BUILD_CLIENT)
        #install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/sounds/base/pack" DESTINATION "${SHAREDIR}/sounds/base")