mirror of https://github.com/CGAL/cgal
Do not set CGAL_AUTO_LINK_ENABLED to TRUE in header only mode
This commit is contained in:
parent
c58ab58860
commit
c7d3a58688
|
|
@ -3,7 +3,7 @@ if ( NOT CGAL_GENERATOR_SPECIFIC_SETTINGS_FILE_INCLUDED )
|
|||
|
||||
message( STATUS "Targetting ${CMAKE_GENERATOR}")
|
||||
|
||||
if ( MSVC )
|
||||
if ( MSVC AND NOT ENABLE_HEADER_ONLY )
|
||||
message( STATUS "Target build enviroment supports auto-linking" )
|
||||
set(CGAL_AUTO_LINK_ENABLED TRUE)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue