comparison OrthancFramework/Resources/CMake/Compiler.cmake @ 5479:dc8e5c65be99

revert previous ineffective changeset
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Dec 2023 18:59:08 +0100
parents 2948c694352e
children e7a04f878704
comparison
equal deleted inserted replaced
5478:2948c694352e 5479:dc8e5c65be99
122 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR 122 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR
123 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR 123 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR
124 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR 124 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR
125 ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") 125 ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
126 126
127 if (NOT ${CMAKE_SYSTEM_VERSION} STREQUAL "LinuxStandardBase" AND 127 if (# NOT ${CMAKE_SYSTEM_VERSION} STREQUAL "LinuxStandardBase" AND
128 NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD" AND 128 NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD" AND
129 NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") 129 NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
130 # The "--no-undefined" linker flag makes the shared libraries 130 # The "--no-undefined" linker flag makes the shared libraries
131 # (plugins ModalityWorklists and ServeFolders) fail to compile on 131 # (plugins ModalityWorklists and ServeFolders) fail to compile on
132 # OpenBSD, and make the PostgreSQL plugin complain about missing 132 # OpenBSD, and make the PostgreSQL plugin complain about missing