Mercurial > hg > orthanc
comparison Resources/CMake/OpenSslConfiguration.cmake @ 566:6a3e2ca7a7a0 laaw
the client library compiles with LSB 4.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 24 Sep 2013 15:12:51 +0200 |
parents | 6b9d09cc9e9d |
children | d775a3cb5a06 |
comparison
equal
deleted
inserted
replaced
564:06119badb2b0 | 566:6a3e2ca7a7a0 |
---|---|
184 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | 184 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
185 set_source_files_properties( | 185 set_source_files_properties( |
186 ${OPENSSL_SOURCES} | 186 ${OPENSSL_SOURCES} |
187 PROPERTIES COMPILE_DEFINITIONS | 187 PROPERTIES COMPILE_DEFINITIONS |
188 "OPENSSL_SYSNAME_WIN32;SO_WIN32;WIN32_LEAN_AND_MEAN;L_ENDIAN") | 188 "OPENSSL_SYSNAME_WIN32;SO_WIN32;WIN32_LEAN_AND_MEAN;L_ENDIAN") |
189 | |
190 elseif (${CMAKE_SYSTEM_VERSION} STREQUAL "LinuxStandardBase") | |
191 execute_process( | |
192 COMMAND patch ui_openssl.c ${CMAKE_SOURCE_DIR}/Resources/Patches/openssl-lsb.diff | |
193 WORKING_DIRECTORY ${OPENSSL_SOURCES_DIR}/crypto/ui | |
194 ) | |
189 endif() | 195 endif() |
190 | 196 |
191 #add_library(OpenSSL STATIC ${OPENSSL_SOURCES}) | 197 #add_library(OpenSSL STATIC ${OPENSSL_SOURCES}) |
192 #link_libraries(OpenSSL) | 198 #link_libraries(OpenSSL) |
193 | 199 |