kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #21761
Re: [PATCH 2/4] Use CMake function for position independent code
Le 09/12/2015 06:44, Simon Richter a écrit :
> Hi,
>
> On 08.12.2015 22:52, Wayne Stambaugh wrote:
>
>> I asked Simon if he could figure out how to make it less noisy. I
>> haven't heard back from him yet.
>
>>>> CMake Warning (dev) at utils/idftools/CMakeLists.txt:17 (add_executable):
>>>> Policy CMP0063 is not set: Honor visibility properties for all target
>>>> types. Run "cmake --help-policy CMP0063" for policy details. Use the
>>>> cmake_policy command to set the policy and suppress this warning.
>
> I think I've found it -- there is a typo:
>
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -91,7 +91,7 @@ if( POLICY CMP0063 )
> if( VISIBILITY_POLICY STREQUAL NEW )
> message( WARNING "Compatibility code for CMake < 3.3 can be
> removed, search for CMP0063" )
> else()
> - cmake_policy( GET CMP0063 NEW )
> + cmake_policy( SET CMP0063 NEW )
> endif()
> else()
> if( CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY AND NOT APPLE )
>
> No idea how this slipped through.
>
> Simon
Committed. Thanks
--
Jean-Pierre CHARRAS
Follow ups
References