From fcc0874c597e7c2b28d5d86e308ed4c387a82956 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Fri, 21 Oct 2011 14:44:53 +0000 Subject: [PATCH] Do NOT include CGAL_INCLUDE_DIRS before! We want, for example, to have CMAKE_BINARY_DIR/include before those dirs. --- Installation/cmake/modules/UseCGAL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installation/cmake/modules/UseCGAL.cmake b/Installation/cmake/modules/UseCGAL.cmake index 443a5b4b2d6..0f134c1c3d0 100644 --- a/Installation/cmake/modules/UseCGAL.cmake +++ b/Installation/cmake/modules/UseCGAL.cmake @@ -47,7 +47,7 @@ if(NOT USE_CGAL_FILE_INCLUDED) #message (STATUS "LIB: ${CGAL_LIBRARY}") #message (STATUS "LIBS: ${CGAL_LIBRARIES}") - include_directories ( BEFORE ${CGAL_INCLUDE_DIRS} ${CGAL_3RD_PARTY_INCLUDE_DIRS} ) + include_directories ( ${CGAL_INCLUDE_DIRS} ${CGAL_3RD_PARTY_INCLUDE_DIRS} ) add_definitions ( ${CGAL_3RD_PARTY_DEFINITIONS} ${CGAL_DEFINITIONS} ) link_directories ( ${CGAL_LIBRARIES_DIR} ${CGAL_3RD_PARTY_LIBRARIES_DIRS} )