mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
This commit is contained in:
parent
66372e75d9
commit
88a7160ad8
@ -530,7 +530,9 @@ set(server_SRCS
|
||||
)
|
||||
list(SORT server_SRCS)
|
||||
|
||||
if ((CMAKE_VERSION VERSION_GREATER 3.8) OR (CMAKE_VERSION VERSION_EQUAL 3.8))
|
||||
# Avoid source_group on broken CMake version.
|
||||
# see issue #7074 #7075
|
||||
if (CMAKE_VERSION VERSION_GREATER 3.8.1)
|
||||
source_group(TREE ${PROJECT_SOURCE_DIR} PREFIX "Source Files" FILES ${client_SRCS})
|
||||
source_group(TREE ${PROJECT_SOURCE_DIR} PREFIX "Source Files" FILES ${server_SRCS})
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user