diff --git a/CMakeLists.txt b/CMakeLists.txt index bc4226a6393d3bc63ad1ac7b8e1de7d76dbdb00e..8d04c4021e42df1a6f8063307f1ea7eb51825a2d 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)