[Piglit] [PATCH 1/3] cmake: Silence CMP0042 warnings on MacOSX.
Brian Paul
brianp at vmware.com
Tue Mar 24 12:45:32 PDT 2015
On 03/24/2015 12:55 PM, Jose Fonseca wrote:
> ---
> CMakeLists.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index db922d8..2208dc7 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -10,6 +10,11 @@ INCLUDE (CheckFunctionExists)
> INCLUDE (CheckIncludeFile)
> INCLUDE (FindPkgConfig)
>
> +# http://www.cmake.org/cmake/help/v3.0/policy/CMP0042.html
> +if (POLICY CMP0042)
> + cmake_policy (SET CMP0042 NEW)
> +endif()
> +
> project (piglit)
>
> # Require MSVC 2013 U4
>
Series LGTM. Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the Piglit
mailing list