6 lines
170 B
CMake
6 lines
170 B
CMake
|
|
||
|
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
||
|
add_library(foo empty.cpp)
|
||
|
set_property(TARGET foo PROPERTY CXX_STANDARD 98)
|
||
|
set_property(TARGET foo PROPERTY CXX_EXTENSIONS TRUE)
|