mirror of https://github.com/CGAL/cgal
distinguish internal libs and external libs as COMPONENTS
This commit is contained in:
parent
303afc2973
commit
dfd8e8ed64
|
|
@ -34,9 +34,19 @@ if(NOT USE_CGAL_FILE_INCLUDED)
|
|||
add_to_list( CGAL_3RD_PARTY_INCLUDE_DIRS ${CGAL_${CGAL_COMPONENT}_3RD_PARTY_INCLUDE_DIRS} )
|
||||
add_to_list( CGAL_3RD_PARTY_DEFINITIONS ${CGAL_${CGAL_COMPONENT}_3RD_PARTY_DEFINITIONS} )
|
||||
add_to_list( CGAL_3RD_PARTY_LIBRARIES_DIRS ${CGAL_${CGAL_COMPONENT}_3RD_PARTY_LIBRARIES_DIRS} )
|
||||
|
||||
# TODO EBEB: What about GMP, MPFR, zlib used in other libCGALxyz
|
||||
if (${CGAL_COMPONENT} STREQUAL "Qt3")
|
||||
find_package( Qt3-patched )
|
||||
endif()
|
||||
|
||||
# TODO EBEB else-case?
|
||||
if (${CGAL_COMPONENT} STREQUAL "Qt4")
|
||||
find_package( Qt4 )
|
||||
endif()
|
||||
|
||||
else(WITH_CGAL_${CGAL_COMPONENT})
|
||||
|
||||
# now we are talking about 3rd party libs
|
||||
|
||||
if ( ${CGAL_COMPONENT} STREQUAL "ALL_PRECONFIGURED_LIBS" )
|
||||
|
||||
|
|
@ -70,7 +80,11 @@ if(NOT USE_CGAL_FILE_INCLUDED)
|
|||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
endif(WITH_CGAL_${CGAL_COMPONENT})
|
||||
|
||||
endforeach()
|
||||
|
||||
include_directories( "${CMAKE_CURRENT_BINARY_DIR}" )
|
||||
|
|
|
|||
Loading…
Reference in New Issue