armel-ftbfs
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Tue, 19 Feb 2019 19:38:38 +0000 (19:38 +0000)
committerKurt Kremitzki <kurt@kwk.systems>
Tue, 19 Feb 2019 19:38:38 +0000 (19:38 +0000)
Gbp-Pq: Name armel-ftbfs.patch

CMakeLists.txt

index ea7907d13448f34115bf755f017db83ab21324c3..2c038b2d2597527064bc93e1fc7a2f13cc5c9bca 100644 (file)
@@ -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")