mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-22 06:24:24 -04:00
add c++-11 support for older CMAKE
This commit is contained in:
1 parent
668c515b21
commit
6efffe62b8
1 file changed
+1
@@ -59,6 +59,7 @@ if(NOT HOST_OS)
|
||||
endif(NOT HOST_OS)
|
||||
|
||||
set (CMAKE_CXX_STANDARD 11)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
# Default CLFAGS and CXXFLAGS:
|
||||
set(CMAKE_C_FLAGS_RELEASE "-Wall -D__STDC_CONSTANT_MACROS -O2")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-Wall -D__STDC_CONSTANT_MACROS -O2")
|
||||
|
||||
Reference in new issue
Block a user