+6
-2
lines changedFilter options
+6
-2
lines changed Original file line number Diff line number Diff line change
@@ -123,7 +123,11 @@ endif()
123
123
124
124
# options
125
125
option(CYGWIN_USE_POSIX "Should the POSIX API be used for cygwin. Ignored if the system isn't cygwin." OFF)
126
-
option(ENABLE_CXX11 "Should the c++11 parts (srt-live-transmit) be enabled" ON)
126
+
if (CMAKE_CXX_COMPILER_ID MATCHES "^GNU$" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7)
127
+
option(ENABLE_CXX11 "Should the c++11 parts (srt-live-transmit) be enabled" OFF)
128
+
else()
129
+
option(ENABLE_CXX11 "Should the c++11 parts (srt-live-transmit) be enabled" ON)
130
+
endif()
127
131
option(ENABLE_APPS "Should the Support Applications be Built?" ON)
128
132
option(ENABLE_EXPERIMENTAL_BONDING "Should the EXPERIMENTAL bonding functionality be enabled?" OFF)
129
133
option(ENABLE_TESTING "Should the Developer Test Applications be Built?" OFF)
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ The `pkg-confg` file (`srt.pc`) will be generated with the `libstdc++` library
74
74
as a dependency. This may be required in some cases where you have an application
75
75
written in C which therefore won't link against `libstdc++` by default.
76
76
77
-
**`--enable-c++11`** (default: ON)
77
+
**`--enable-c++11`** (default: ON except for GCC<4.7)
78
78
79
79
Enable compiling in C++11 mode for those parts that may require it.
80
80
Parts that don't require it will still be compiled in C++03 mode,
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4