Install mods/mods_here.txt instead of mods/minetest/mods_here.txt
authorPilzAdam <pilzadam@minetest.net>
Sun, 19 May 2013 16:47:58 +0000 (18:47 +0200)
committerPilzAdam <pilzadam@minetest.net>
Sun, 19 May 2013 16:47:58 +0000 (18:47 +0200)
CMakeLists.txt

index 82fd23a00cbeb8d663eac7823ababa4dc7a12a35..446fff07530745cd4d8393254d357e0fb348bd11 100644 (file)
@@ -145,7 +145,7 @@ if(BUILD_CLIENT)
        install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/textures/base/pack" DESTINATION "${SHAREDIR}/textures/base")
 endif()
 if(RUN_IN_PLACE)
-       install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/mods/minetest/mods_here.txt" DESTINATION "${SHAREDIR}/mods/minetest")
+       install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/mods/mods_here.txt" DESTINATION "${SHAREDIR}/mods")
        install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/textures/all/textures_here.txt" DESTINATION "${SHAREDIR}/textures/all")
 endif()