Mercurial > hg > orthanc
comparison Resources/CMake/Compiler.cmake @ 4042:f5c86a00cae0
moving DownloadOrthancFramework.cmake to Resources/CMake/
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jun 2020 16:44:29 +0200 |
parents | a3e38994d95a |
children |
comparison
equal
deleted
inserted
replaced
4041:ffd20cdfa82c | 4042:f5c86a00cae0 |
---|---|
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 |