From 477b12dd83d8b041bbfdf8e65d53cf30f66b73b3 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 30 Nov 2017 11:15:38 +0100 Subject: [PATCH] Hack for the CGAL test suite (cont.) Follow-up to: > commit 249aed9fd1d59787b3da4f0bcabcefe5db9ff249 > Author: Laurent Rineau > Date: Thu Nov 23 17:06:21 2017 +0100 > > Hack for the CGAL test suite --- Installation/cmake/modules/CGALConfig_binary.cmake.in | 6 ++++++ Installation/cmake/modules/CGALConfig_install.cmake.in | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/Installation/cmake/modules/CGALConfig_binary.cmake.in b/Installation/cmake/modules/CGALConfig_binary.cmake.in index 0ea54e3f9cc..d50ef38cf46 100644 --- a/Installation/cmake/modules/CGALConfig_binary.cmake.in +++ b/Installation/cmake/modules/CGALConfig_binary.cmake.in @@ -176,3 +176,9 @@ include(${CGAL_MODULES_DIR}/CGAL_Macros.cmake) # Temporary? Change the CMAKE module path cgal_setup_module_path() + +if( RUNNING_CGAL_AUTO_TEST ) + # Ugly hack to be compatible with current CGAL testsuite process (as of + # Nov. 2017). -- Laurent Rineau + include(CGAL_SetupFlags) +endif() diff --git a/Installation/cmake/modules/CGALConfig_install.cmake.in b/Installation/cmake/modules/CGALConfig_install.cmake.in index 8f52bcf993e..8c5031762a8 100644 --- a/Installation/cmake/modules/CGALConfig_install.cmake.in +++ b/Installation/cmake/modules/CGALConfig_install.cmake.in @@ -148,3 +148,9 @@ include(${CGAL_MODULES_DIR}/CGAL_Macros.cmake) # Temporary? Change the CMAKE module path cgal_setup_module_path() + +if( RUNNING_CGAL_AUTO_TEST ) + # Ugly hack to be compatible with current CGAL testsuite process (as of + # Nov. 2017). -- Laurent Rineau + include(CGAL_SetupFlags) +endif()