From 5f60dfbbd1e70ac4bf4459252f34d028beaa5de7 Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Thu, 16 Oct 2008 16:32:11 +0000 Subject: [PATCH] Fixed unintentional overrriding of BUILD_SHARED_LIBS --- Installation/cmake/modules/CGALcommon.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()