From 06c96d91ce56597a3eabf20e8c902059485ef04c Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 7 Dec 2011 10:49:43 +0000 Subject: [PATCH] Do not include CGAL include dirs *before* user ones!! --- 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 3d904583a89..362fc1d711e 100644 --- a/Installation/cmake/modules/UseCGAL.cmake +++ b/Installation/cmake/modules/UseCGAL.cmake @@ -46,7 +46,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} )