mirror of https://github.com/CGAL/cgal
Remove unnecessary add_config_flag call
This call to add_config_flag has no effect. It is made before the
file(WRITE ${CMAKE_BINARY_DIR}/include/CGAL/compiler_config.h ...) which
overwrites the contents of the file.
This is surely a bug, because ${CGAL_EXT_LIB_${lib}_PREFIX} expands to
things like GMP or MPFR which would be really bad defines.
This commit is contained in:
parent
e598d67ba6
commit
f0fad560f6
|
|
@ -610,10 +610,6 @@ foreach (lib ${CGAL_SUPPORTING_3RD_PARTY_LIBRARIES})
|
|||
option(WITH_${lib} "Select external library ${lib}" OFF)
|
||||
endif()
|
||||
|
||||
if (WITH_${lib})
|
||||
add_config_flag( ${CGAL_EXT_LIB_${lib}_PREFIX} )
|
||||
endif()
|
||||
|
||||
endforeach()
|
||||
|
||||
#--------------------------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue