get_target_property of INCLUDE_DIRECTORIES on CGAL::CGAL is not set #8148
Replies: 3 comments 3 replies
-
I do not get it. Target properties like
|
Beta Was this translation helpful? Give feedback.
-
Just a reminder that my initial question was to know if it is "normal" that the target property |
Beta Was this translation helpful? Give feedback.
-
🤔 Interesting ! Maybe I was not asking for the correct target property... Here is what I have for CGAL in comparison with TBB and Eigen3, for instance: get_target_property(EIGEN3_INTERFACE_SYSTEM_INCLUDE_DIRECTORIES Eigen3::Eigen INTERFACE_SYSTEM_INCLUDE_DIRECTORIES)
# EIGEN3_INTERFACE_SYSTEM_INCLUDE_DIRECTORIES=EIGEN3_INTERFACE_SYSTEM_INCLUDE_DIRECTORIES-NOTFOUND
get_target_property(EIGEN3_INTERFACE_INCLUDE_DIRECTORIES Eigen3::Eigen INTERFACE_INCLUDE_DIRECTORIES)
# EIGEN3_INTERFACE_INCLUDE_DIRECTORIES=/miniconda3/envs/custom-cgal/include/eigen3
get_target_property(TBB_INTERFACE_SYSTEM_INCLUDE_DIRECTORIES TBB::tbb INTERFACE_SYSTEM_INCLUDE_DIRECTORIES)
# TBB_INTERFACE_SYSTEM_INCLUDE_DIRECTORIES=TBB_INTERFACE_SYSTEM_INCLUDE_DIRECTORIES-NOTFOUND
get_target_property(TBB_INTERFACE_INCLUDE_DIRECTORIES TBB::tbb INTERFACE_INCLUDE_DIRECTORIES)
# TBB_INTERFACE_INCLUDE_DIRECTORIES=/miniconda3/envs/custom-cgal/include
get_target_property(CGAL_INTERFACE_SYSTEM_INCLUDE_DIRECTORIES CGAL::CGAL INTERFACE_SYSTEM_INCLUDE_DIRECTORIES)
# CGAL_INTERFACE_SYSTEM_INCLUDE_DIRECTORIES=/miniconda3/envs/custom-cgal/include/;/miniconda3/envs/custom-cgal/include/;/miniconda3/envs/custom-cgal/include
get_target_property(CGAL_INTERFACE_INCLUDE_DIRECTORIES CGAL::CGAL INTERFACE_INCLUDE_DIRECTORIES)
# CGAL_INTERFACE_INCLUDE_DIRECTORIES=$<BUILD_INTERFACE:/workspace/contrib/CGAL-6.0-I-207/include>$<INSTALL_INTERFACE:include>/miniconda3/envs/custom-cgal/include;/miniconda3/envs/custom-cgal/include;/miniconda3/envs/custom-cgal/include |
Beta Was this translation helpful? Give feedback.
-
Issue Details
It would be nice if
get_target_property(CGAL_TARGET_INCLUDE_DIRECTORIES CGAL::CGAL INCLUDE_DIRECTORIES)
was returning the CGAL include directory.Source Code
Here is a CMake file to reproduce the behaviour:
Environment
cmake 3.29.0 hcfe8598_0 conda-forge
eigen 3.4.0 h00ab1b0_0 conda-forge
gmp 6.3.0 h59595ed_1 conda-forge
mpfr 4.2.1 h9458935_0 conda-forge
Beta Was this translation helpful? Give feedback.
All reactions