From 98890c9924f74e5ee122dee95cf1c04c2ccfb5ad Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Fri, 9 Sep 2016 17:32:54 +0200 Subject: [PATCH] Fix the INTERFACE_INCLUDE_DIRECTORIES of CGAL --- Installation/cmake/modules/CGAL_SetupCGALDependencies.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Installation/cmake/modules/CGAL_SetupCGALDependencies.cmake b/Installation/cmake/modules/CGAL_SetupCGALDependencies.cmake index 5989d45817d..7ce5c84a63e 100644 --- a/Installation/cmake/modules/CGAL_SetupCGALDependencies.cmake +++ b/Installation/cmake/modules/CGAL_SetupCGALDependencies.cmake @@ -30,4 +30,10 @@ function(CGAL_setup_CGAL_dependencies target) endif() use_CGAL_Boost_support(${target} ${keyword}) + foreach(dir ${CGAL_INCLUDE_DIRS}) + target_include_directories(${target} ${keyword} + $) + endforeach() + target_include_directories(${target} ${keyword} + $) endfunction()