Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
None
-
73,024
Description
The usage of add_library(<target> INTERFACE) as done in r73024 triggers a bug in CMake 3.2.1 (from RosBE 2.1.3) that manifests as:
1> CMake Error at sdk/cmake/CMakeMacros.cmake:499 (get_target_property):
|
1> INTERFACE_LIBRARY targets may only have whitelisted properties. The
|
1> property "EXCLUDE_FROM_ALL" is not allowed.
|
1> Call Stack (most recent call first):
|
1> sdk/lib/conutils/CMakeLists.txt:34 (add_library)
|
1>
|
1>
|
1> -- Configuring incomplete, errors occurred!
|
when we configure a build with the USE_FOLDER_STRUCTURE setting enabled, as it is currently the case for VSSolutions.
In r73027 I have commited a workaround copied on http://stackoverflow.com/questions/24926868/cmake-3-0-add-library-of-type-interface-breaks-get-target-property .