Mercurial > hg > orthanc-webviewer
comparison 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 |
comparison
equal
deleted
inserted
replaced
268:6171ef61c512 | 269:938257eebc03 |
---|---|
1 # This file sets all the compiler-related flags | 1 # This file sets all the compiler-related flags |
2 | |
3 include(CheckLibraryExists) | |
2 | 4 |
3 if ((CMAKE_CROSSCOMPILING AND NOT | 5 if ((CMAKE_CROSSCOMPILING AND NOT |
4 "${CMAKE_SYSTEM_VERSION}" STREQUAL "CrossToolNg") OR | 6 "${CMAKE_SYSTEM_VERSION}" STREQUAL "CrossToolNg") OR |
5 "${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") | 7 "${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") |
6 # Cross-compilation necessarily implies standalone and static build | 8 # Cross-compilation necessarily implies standalone and static build |