diff --git a/Installation/cmake/modules/CGALcommon.cmake b/Installation/cmake/modules/CGALcommon.cmake index 65a24f54c28..1d55674efb4 100644 --- a/Installation/cmake/modules/CGALcommon.cmake +++ b/Installation/cmake/modules/CGALcommon.cmake @@ -23,7 +23,7 @@ if( NOT CGAL_COMMON_FILE_INCLUDED ) cmake_policy( SET CMP0007 OLD ) endif() - if ( NOT BUILD_SHARED_LIBS ) + if ( "BUILD_SHARED_LIBS" STREQUAL "" ) if ( WIN32 ) set(BUILD_SHARED_LIBS OFF) else()