We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f73e60 commit 7bf978eCopy full SHA for 7bf978e
CMakeLists.txt
@@ -8,9 +8,9 @@ project(PSS_alpha)
8
if(UNIX)
9
#linux
10
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")
+ CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
+ if(COMPILER_SUPPORTS_CXX11)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
14
endif()
15
16
#message("[pss build]build jemalloc begin")
0 commit comments