From 7405f2cbc4d98252778ce5841529030e474a75ed Mon Sep 17 00:00:00 2001 From: Mark Moll <mmoll@rice.edu> Date: Tue, 11 Dec 2012 13:44:47 -0600 Subject: [PATCH] FCL's own include dir should be at the front of the include path --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc4226a6..8d04c402 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,8 @@ if(MSVC OR MSVC90 OR MSVC10) endif() add_definitions(-DBOOST_TEST_DYN_LINK) -include_directories("include") +# FCL's own include dir should be at the front of the include path +include_directories(BEFORE "include") if(PKG_CONFIG_FOUND) pkg_check_modules(CCD REQUIRED ccd) -- GitLab