diff Resources/CMake/LibCurlConfiguration.cmake @ 1532:b5eb5210af91

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Aug 2015 15:04:12 +0200
parents 31b3a540f508
children 0011cc99443c
line wrap: on
line diff
--- a/Resources/CMake/LibCurlConfiguration.cmake	Wed Aug 12 14:44:31 2015 +0200
+++ b/Resources/CMake/LibCurlConfiguration.cmake	Wed Aug 12 15:04:12 2015 +0200
@@ -42,11 +42,10 @@
       )
   endif()
 
-  if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
-    set_property(
-      SOURCE ${CURL_SOURCES}
-      PROPERTY COMPILE_DEFINITIONS "HAVE_BOOL_T"
-      )
+  if (MSVC)
+    #add_definitions(
+    #  -DHAVE_BOOL_T=1
+    #  )
 
   elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
       ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR