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:
Philipp Möller 2015-08-05 14:28:35 +02:00
parent e598d67ba6
commit f0fad560f6
1 changed files with 0 additions and 4 deletions

View File

@ -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()
#--------------------------------------------------------------------------------------------------