comparison Resources/CMake/Compiler.cmake @ 3833:a3e38994d95a

compilation on mips qemu
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 15 Apr 2020 14:45:52 +0200
parents d5cf43519a49
children f5c86a00cae0
comparison
equal deleted inserted replaced
3832:ab9a0d1e0cc1 3833:a3e38994d95a
1 # This file sets all the compiler-related flags 1 # This file sets all the compiler-related flags
2 2
3 if (CMAKE_CROSSCOMPILING OR 3 if ((CMAKE_CROSSCOMPILING AND NOT
4 "${CMAKE_SYSTEM_VERSION}" STREQUAL "CrossToolNg") OR
4 "${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") 5 "${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase")
5 # Cross-compilation necessarily implies standalone and static build 6 # Cross-compilation necessarily implies standalone and static build
6 SET(STATIC_BUILD ON) 7 SET(STATIC_BUILD ON)
7 SET(STANDALONE_BUILD ON) 8 SET(STANDALONE_BUILD ON)
8 endif() 9 endif()