Do NOT include CGAL_INCLUDE_DIRS before!

We want, for example, to have CMAKE_BINARY_DIR/include before those dirs.
This commit is contained in:
Laurent Rineau 2011-10-21 14:44:53 +00:00
parent a49a4976a2
commit fcc0874c59
1 changed files with 1 additions and 1 deletions

View File

@ -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} )