[vtk-developers] New cmake modules: TBB broken?
David Gobbi
david.gobbi at gmail.com
Tue Jan 8 12:00:32 EST 2019
Hi Ben,
The new FindTBB.cmake is broken, specifically in this section starting at
line 88:
set_target_propertes(TBB::${TARGET} PROPERTIES
IMPORTED_LOCATION "${${PREFIX}_LIBRARY}"
IMPORTED_LOCATION_DEBUG "${${PREFIX}_LIBRARY_DEBUG}"
IMPORTED_LOCATION_RELEASE "${${PREFIX}_LIBRARY_RELEASE}")
target_include_directories(TBB::${TARGET} INTERFACE
"${${PREFIX}_INCLUDE_DIR}")
There is an error for the "set_target_properties" typo, and these errors
for "target_include_directories":
==
target_include_directories called with non-compilable target type
==
add_library cannot create imported target "TBB::" because another target
with the same name already exists.
==
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20190108/5dc7ab13/attachment.html>
More information about the vtk-developers
mailing list