[vlmc-devel] Enable C++11 on MacOS
Hugo Beauzée-Luyssen
git at videolan.org
Mon Mar 28 01:22:31 CEST 2016
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Mar 28 00:44:13 2016 +0200| [d97e1437804e4973c0ef55e5aa21966f90e87ddf] | committer: Hugo Beauzée-Luyssen
Enable C++11 on MacOS
> https://code.videolan.org/videolan/vlmc/commit/d97e1437804e4973c0ef55e5aa21966f90e87ddf
---
src/CMakeLists.txt | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bb2251a..c8210cc 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -266,10 +266,8 @@ ADD_CUSTOM_COMMAND(
ADD_DEFINITIONS( -W -Wall -Wextra )
-if( NOT APPLE )
- # Ensure we can use some C++11 features
- target_compile_features(vlmc PUBLIC cxx_nullptr cxx_range_for)
-endif()
+# Ensure we can use some C++11 features
+target_compile_features(vlmc PUBLIC cxx_nullptr cxx_range_for)
IF(UNIX)
IF (WITH_PROFILING)
More information about the Vlmc-devel
mailing list