[vlmc-devel] Comment broken g++ check which is not needed on Apple platforms

Felix Paul Kühne git at videolan.org
Thu Mar 3 17:37:36 CET 2016


vlmc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Mar  3 17:34:37 2016 +0100| [47ca04fe3344e6f5723db42e5e6e6eff162f03aa] | committer: Felix Paul Kühne

Comment broken g++ check which is not needed on Apple platforms

> https://code.videolan.org/videolan/vlmc/commit/47ca04fe3344e6f5723db42e5e6e6eff162f03aa
---

 src/CMakeLists.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 26150e2..8223f93 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -266,9 +266,10 @@ ADD_CUSTOM_COMMAND(
 
 ADD_DEFINITIONS( -W -Wall -Wextra )
 
-
-# Ensure we can use some C++11 features
-target_compile_features(vlmc PUBLIC cxx_nullptr cxx_range_for)
+if( !APPLE )
+    # Ensure we can use some C++11 features
+    target_compile_features(vlmc PUBLIC cxx_nullptr cxx_range_for)
+ENDIF( !APPLE )
 
 IF(UNIX)
     IF (WITH_PROFILING)



More information about the Vlmc-devel mailing list