1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-01 15:55:26 +01:00

might work good on cmake+msvc now

This commit is contained in:
Perttu Ahola
2011-02-15 20:53:29 +02:00
parent 95c88d258b
commit a0e8f3afd3
8 changed files with 121 additions and 38 deletions

View File

@@ -77,12 +77,13 @@ set(CPACK_PACKAGE_CONTACT "Perttu Ahola <celeron55@gmail.com>")
if(WIN32)
# For some reason these aren't copied otherwise
if(BUILD_CLIENT)
install(FILES bin/minetest.exe DESTINATION bin)
endif()
if(BUILD_SERVER)
install(FILES bin/minetestserver.exe DESTINATION bin)
endif()
# NOTE: For some reason now it seems to work without these
#if(BUILD_CLIENT)
# install(FILES bin/minetest.exe DESTINATION bin)
#endif()
#if(BUILD_SERVER)
# install(FILES bin/minetestserver.exe DESTINATION bin)
#endif()
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-win32")