Skip to content

Commit 88a7160

Browse files
nOOb3167SmallJoker
authored andcommittedFeb 25, 2018
Fix CMake error (#7074) by bumping the required CMake version past 3.8.1 (#7075)
1 parent 66372e7 commit 88a7160

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,9 @@ set(server_SRCS
530530
)
531531
list(SORT server_SRCS)
532532

533-
if ((CMAKE_VERSION VERSION_GREATER 3.8) OR (CMAKE_VERSION VERSION_EQUAL 3.8))
533+
# Avoid source_group on broken CMake version.
534+
# see issue #7074 #7075
535+
if (CMAKE_VERSION VERSION_GREATER 3.8.1)
534536
source_group(TREE ${PROJECT_SOURCE_DIR} PREFIX "Source Files" FILES ${client_SRCS})
535537
source_group(TREE ${PROJECT_SOURCE_DIR} PREFIX "Source Files" FILES ${server_SRCS})
536538
endif()

0 commit comments

Comments
 (0)