comparison Resources/CMake/LibCurlConfiguration.cmake @ 2364:ae50eccd41b7

compilation succeeds on OpenBSD
author jodogne
date Mon, 21 Aug 2017 16:28:53 +0200
parents 8b51b133bb8b
children 741bb76634d3
comparison
equal deleted inserted replaced
2363:f8ef157f2d73 2364:ae50eccd41b7
58 endif() 58 endif()
59 59
60 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR 60 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
61 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR 61 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR
62 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR 62 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR
63 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") 63 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR
64 ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
64 if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") 65 if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
65 SET(TMP_OS "x86_64") 66 SET(TMP_OS "x86_64")
66 else() 67 else()
67 SET(TMP_OS "x86") 68 SET(TMP_OS "x86")
68 endif() 69 endif()