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

Hugo Beauzée-Luyssen hugo at beauzee.fr
Fri Mar 4 10:21:48 CET 2016


On 03/03/2016 05:37 PM, Felix Paul Kühne wrote:
> 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)
>
> _______________________________________________
> Vlmc-devel mailing list
> Vlmc-devel at videolan.org
> https://mailman.videolan.org/listinfo/vlmc-devel
>

Hi, out of curiosity, what was the behavior with this test enabled?

Regards,


More information about the Vlmc-devel mailing list