From: Debian Science Maintainers Date: Tue, 23 Oct 2018 20:50:46 +0000 (+0100) Subject: armel-ftbfs X-Git-Tag: archive/raspbian/7.3.0+dfsg1-4+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fd2e22be1773ede599d37d881bbb43f895ac8f55;p=opencascade.git armel-ftbfs Gbp-Pq: Name armel-ftbfs.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ea7907d13..2c038b2d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,12 @@ set (CMAKE_SUPPRESS_REGENERATION TRUE) set (CMAKE_CONFIGURATION_TYPES Release Debug RelWithDebInfo CACHE INTERNAL "" FORCE) +# Make it possible to ignore if there are no atomics support, needed for armel. +IF(IGNORE_NO_ATOMICS) + ADD_DEFINITIONS(-DIGNORE_NO_ATOMICS) +ENDIF(IGNORE_NO_ATOMICS) + + # macro: include patched file if it exists macro (OCCT_INCLUDE_CMAKE_FILE BEING_INCLUDED_FILE) if (BUILD_PATCH AND EXISTS "${BUILD_PATCH}/${BEING_INCLUDED_FILE}.cmake")