[Cmb-users] smtk build fail during cmb superbuild
Ben Boeckel
ben.boeckel at kitware.com
Wed Feb 1 16:43:34 EST 2017
On Wed, Feb 01, 2017 at 18:39:10 +0000, michal wozniak wrote:
> I have never exported subproject to main projects before, do you have
> any suggestions or some documentation about this which I could read?
The targets referenced here need exported. Roughly, each place which
does add_library(libname) needs this code too:
install(
TARGETS ${libname}
EXPORT cgm
COMPONENT Runtime)
set_property(GLOBAL APPEND
PROPERTY cgma_export_targets
${libname})
But it appears that more work needs to be done to get cgm to work in a
static build (on any platform).
--Ben
More information about the Cmb-users
mailing list