Clinton Stimpson wrote:
I have a target where I do this:
SET_TARGET_PROPERTIES(mytarget PROPERTIES LINK_INTERFACE_LIBRARIES )
to hide 3rd party libraries from the link interface.
When I do
if(APPLE)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
endif()
I get an error at generate time.
On Friday, October 25, 2013 08:40:41 AM Stephen Kelly wrote:
Clinton Stimpson wrote:
I have a target where I do this:
SET_TARGET_PROPERTIES(mytarget PROPERTIES LINK_INTERFACE_LIBRARIES )
to hide 3rd party libraries from the link interface.
When I do
if(APPLE)
Clinton Stimpson wrote:
I'm trying to point out that I did not get a warning when I was using
cmake_minimum_required(VERSION 2.8)
set_target_properties(mytarget PROPERTIES LINK_INTERFACE_LIBRARIES )
with
CMake 2.8.12.
That looks like a bug.
The policy warning is only issued if
1) Both
I have a target where I do this:
SET_TARGET_PROPERTIES(mytarget PROPERTIES LINK_INTERFACE_LIBRARIES )
to hide 3rd party libraries from the link interface.
When I do
if(APPLE)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
endif()
I get an error at generate time.
This is different than my previous