According to the documentation of 2.6.2, policies CMP0008 and CMP0009
were introduced after 2.6.0. Also, according to that documentation,
cmake_policy(VERSION 2.6.0) should set those policies to OLD and warn about
that.
I use
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
according to the
On 2009-02-01 09:03-0800 Alan W. Irwin wrote:
According to the documentation of 2.6.2, policies CMP0008 and CMP0009
were introduced after 2.6.0. Also, according to that documentation,
cmake_policy(VERSION 2.6.0) should set those policies to OLD and warn about
that.
I use
Setting set_target_properties(foo PROPERTIES LINK_FLAGS ...) does not work.
The other libraries just come after these flags.
- Ross
From: philiplow...@gmail.com [mailto:philiplow...@gmail.com] On Behalf Of
Philip Lowman
Sent: Friday, January 30, 2009 11:25 AM
On Sun, Feb 1, 2009 at 5:45 PM, Bartlett, Roscoe A raba...@sandia.govwrote:
Setting set_target_properties(foo PROPERTIES LINK_FLAGS ...) does not
work. The other libraries just come after these flags.
Sorry about that, I wasn't sure if it would work or not. Did Brad's
suggestion pan out?
Hello Brad,
The hack:
set(CMAKE_CXX_LINK_EXECUTABLE
${CMAKE_CXX_LINK_EXECUTABLE} ${NASTY_FLAGS})
does not work because my libraries still come after these flags.
However, the second suggestion of creaking the 'last' library seems to be
working. I am a little concerned about using: