comparison OrthancFramework/Resources/CMake/OpenSslConfigurationStatic-1.0.2.cmake @ 4368:781f53eee856

fix OpenSslConfigurationStatic-1.1.1.cmake to generate windows plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 12 Dec 2020 19:41:30 +0100
parents 304842a0d152
children d9473bd5ed43
comparison
equal deleted inserted replaced
4367:189e48f4a92a 4368:781f53eee856
122 ${OPENSSL_SOURCES_DIR}/include/openssl/e_os2_source.h) 122 ${OPENSSL_SOURCES_DIR}/include/openssl/e_os2_source.h)
123 123
124 # The following patch of "e_os2.h" prevents from building OpenSSL 124 # The following patch of "e_os2.h" prevents from building OpenSSL
125 # as a DLL under Windows. Otherwise, symbols have inconsistent 125 # as a DLL under Windows. Otherwise, symbols have inconsistent
126 # linkage if ${OPENSSL_SOURCES} is used to create a DLL (notably 126 # linkage if ${OPENSSL_SOURCES} is used to create a DLL (notably
127 # if building an Orthanc plugin such as MySQL). 127 # if building an Orthanc plugin such as PostgreSQL or MySQL).
128 file(WRITE ${OPENSSL_SOURCES_DIR}/include/openssl/e_os2.h " 128 file(WRITE ${OPENSSL_SOURCES_DIR}/include/openssl/e_os2.h "
129 #include \"e_os2_source.h\" 129 #include \"e_os2_source.h\"
130 #if defined(_WIN32) 130 #if defined(_WIN32)
131 # undef OPENSSL_EXPORT 131 # undef OPENSSL_EXPORT
132 # undef OPENSSL_IMPORT 132 # undef OPENSSL_IMPORT