mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
updated CMakeList.txts a bit
This commit is contained in:
parent
05d0eaf5fc
commit
149875607c
@ -21,7 +21,11 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(BUILD_CLIENT 1 CACHE BOOL "Build client")
|
set(BUILD_CLIENT 1 CACHE BOOL "Build client")
|
||||||
set(BUILD_SERVER 1 CACHE BOOL "Build server")
|
if(WIN32)
|
||||||
|
set(BUILD_SERVER 0 CACHE BOOL "Build server")
|
||||||
|
else()
|
||||||
|
set(BUILD_SERVER 1 CACHE BOOL "Build server")
|
||||||
|
endif()
|
||||||
|
|
||||||
set(WARN_ALL 1 CACHE BOOL "Enable -Wall for Release build")
|
set(WARN_ALL 1 CACHE BOOL "Enable -Wall for Release build")
|
||||||
|
|
||||||
@ -60,6 +64,7 @@ elseif(UNIX) # Linux, BSD etc
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(FILES "doc/README.txt" DESTINATION "${DOCDIR}")
|
install(FILES "doc/README.txt" DESTINATION "${DOCDIR}")
|
||||||
|
install(FILES "doc/changelog.txt" DESTINATION "${DOCDIR}")
|
||||||
install(FILES "minetest.conf.example" DESTINATION "${DOCDIR}")
|
install(FILES "minetest.conf.example" DESTINATION "${DOCDIR}")
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -130,7 +130,7 @@ set(common_SRCS
|
|||||||
|
|
||||||
# This gives us the icon
|
# This gives us the icon
|
||||||
if(WIN32 AND MSVC)
|
if(WIN32 AND MSVC)
|
||||||
set(common_SRCS ${common_SRCS} winresource.rc)
|
set(common_SRCS ${common_SRCS} winresource.rc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Client sources
|
# Client sources
|
||||||
|
Loading…
Reference in New Issue
Block a user