set_property didn't work like I thought. 🤷
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
20d9c64161
commit
2947c31263
|
@ -22,9 +22,9 @@ option(WITH_TESTS "Compile tests." NO)
|
||||||
# Build shared libs by default but allow overriding.
|
# Build shared libs by default but allow overriding.
|
||||||
set(BUILD_SHARED_LIBS YES CACHE BOOL "Build shared libs.")
|
set(BUILD_SHARED_LIBS YES CACHE BOOL "Build shared libs.")
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
set_property(GLOBAL PROPERTY CXX_STANDARD_REQUIRED YES)
|
set(CMAKE_CXX_STANDARD_REQUIRED YES)
|
||||||
set_property(GLOBAL PROPERTY CXX_EXTENSIONS NO)
|
set(CMAKE_CXX_EXTENSIONS NO)
|
||||||
|
|
||||||
set(DEBUG_CXXFLAGS
|
set(DEBUG_CXXFLAGS
|
||||||
"-Wall"
|
"-Wall"
|
||||||
|
|
Reference in New Issue
Block a user