Skip to content

Commit 7bf978e

Browse files
committed
change C++11 compare.
1 parent 6f73e60 commit 7bf978e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ project(PSS_alpha)
88
if(UNIX)
99
#linux
1010
include(CheckCXXCompilerFlag)
11-
CHECK_CXX_COMPILER_FLAG("-std=c++17" COMPILER_SUPPORTS_CXX17)
12-
if(COMPILER_SUPPORTS_CXX17)
13-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
11+
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
12+
if(COMPILER_SUPPORTS_CXX11)
13+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
1414
endif()
1515

1616
#message("[pss build]build jemalloc begin")

0 commit comments

Comments
 (0)