Mercurial > hg > orthanc-webviewer
diff Resources/Orthanc/CMake/Compiler.cmake @ 269:938257eebc03
simplification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jun 2020 16:47:06 +0200 |
parents | 4e9d30c19b4b |
children | 2c3555b8eabc |
line wrap: on
line diff
--- a/Resources/Orthanc/CMake/Compiler.cmake Wed Jun 10 14:54:45 2020 +0200 +++ b/Resources/Orthanc/CMake/Compiler.cmake Wed Jun 10 16:47:06 2020 +0200 @@ -1,5 +1,7 @@ # This file sets all the compiler-related flags +include(CheckLibraryExists) + if ((CMAKE_CROSSCOMPILING AND NOT "${CMAKE_SYSTEM_VERSION}" STREQUAL "CrossToolNg") OR "${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase")