comparison 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
comparison
equal deleted inserted replaced
1531:31b3a540f508 1532:b5eb5210af91
40 -DUSE_OPENSSL=1 40 -DUSE_OPENSSL=1
41 -DUSE_SSLEAY=1 41 -DUSE_SSLEAY=1
42 ) 42 )
43 endif() 43 endif()
44 44
45 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") 45 if (MSVC)
46 set_property( 46 #add_definitions(
47 SOURCE ${CURL_SOURCES} 47 # -DHAVE_BOOL_T=1
48 PROPERTY COMPILE_DEFINITIONS "HAVE_BOOL_T" 48 # )
49 )
50 49
51 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR 50 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
52 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR 51 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR
53 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR 52 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR
54 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") 53 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD")