[CMake] TARGET_SUPPORTS_SHARED_LIBS not set
Nico Schlömer
nico.schloemer at gmail.com
Tue Sep 11 05:26:57 EDT 2012
Hi all,
I'm having problems linking shared libraries on Ubuntu 12.10 beta1
here (shipping with CMake 2.8.9), and found that this is related to
TARGET_SUPPORTS_SHARED_LIBS not being set. This
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
GET_PROPERTY(test GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS)
MESSAGE("<" ${test} ">")
prints "<>".
Do I need to manually set a target, or does a later command, e.g. the
instantiation of a project set this?
Cheers,
Nico
More information about the CMake
mailing list