cmake_modules/platform.cmake
changeset 9218 673bf356ad8c
parent 9211 6235925d0fa1
child 9219 0a4b6bb69f99
--- 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)