From 855b4d1f86b5a95eff288cbf918643e610d05797 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Sat, 20 Jul 2019 08:01:53 +0100 Subject: [PATCH] armel-ftbfs Gbp-Pq: Name armel-ftbfs.patch --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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") -- 2.30.2