diff -r 992b7ef2eba3 -r 673bf356ad8c cmake_modules/platform.cmake --- a/cmake_modules/platform.cmake Wed Jun 12 19:30:11 2013 +0200 +++ b/cmake_modules/platform.cmake Wed Jun 12 19:30:44 2013 +0200 @@ -81,7 +81,7 @@ endif(MINGW) if(WIN32) - if(NOT BUILD_SHARED_LIB) + if(NOT ${BUILD_SHARED_LIB}) message(FATAL_ERROR "Static linking is not supported on Windows") endif() endif(WIN32)