We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 997175e commit 6b7c7e5Copy full SHA for 6b7c7e5
CMakeLists.txt
@@ -1,3 +1,7 @@
1
cmake_minimum_required(VERSION 2.8)
2
project(path)
3
+if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
4
+ # Enable C++11 mode on GCC / Clang
5
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
6
+endif()
7
add_executable(path_demo path_demo.cpp filesystem/path.h filesystem/resolver.h)
0 commit comments