]> git.lizzy.rs Git - minetest.git/blobdiff - src/CMakeLists.txt
Random Lua tweaks/fixes
[minetest.git] / src / CMakeLists.txt
index 7a45bf1d1e82f19fd99e2467cdc1ee4fdd7640ce..9d699e976bcf887388f0d1779faa17ef91e0ec11 100644 (file)
@@ -94,6 +94,13 @@ configure_file(
 )
 
 set(common_SRCS
+       craftdef.cpp
+       nameidmapping.cpp
+       tooldef.cpp
+       nodedef.cpp
+       luaentity_common.cpp
+       scriptapi.cpp
+       script.cpp
        log.cpp
        content_sao.cpp
        mapgen.cpp
@@ -299,9 +306,8 @@ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../minetest.conf.example" DESTINATION
 if(BUILD_CLIENT)
        install(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
 
-       file(GLOB images "${CMAKE_CURRENT_SOURCE_DIR}/../data/*.png")
-
-       install(FILES ${images} DESTINATION ${DATADIR})
+       file(GLOB images "${CMAKE_CURRENT_SOURCE_DIR}/../data/textures/*.png")
+       install(FILES ${images} DESTINATION ${DATADIR}/textures)
 
        if(USE_GETTEXT)
                foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES})