From 43237f74a8609ba95494a606e9a28b7780ffa4ed Mon Sep 17 00:00:00 2001 From: Pedro Olsen Ferreira Date: Tue, 16 Apr 2024 16:54:28 +0100 Subject: [PATCH] Remove dead code (#1946) This is 7-year old CMake code that never did anything because the function invocation is missing the PROPERTIES keyword. Adding the keyword results in build errors, so just drop the dead code since everything seems to be working without it anyway. --- test_conformance/conversions/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test_conformance/conversions/CMakeLists.txt b/test_conformance/conversions/CMakeLists.txt index 11106439..e2e97667 100644 --- a/test_conformance/conversions/CMakeLists.txt +++ b/test_conformance/conversions/CMakeLists.txt @@ -8,14 +8,6 @@ if("${CLConform_TARGET_ARCH}" STREQUAL "ARM" OR "${CLConform_TARGET_ARCH}" STREQ list(APPEND ${MODULE_NAME}_SOURCES fplib.cpp) endif() -if(NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID) -# -march is needed for CPU atomics, default arch on gcc is i386 -# that does not support atomics. -set_source_files_properties( - ${MODULE_NAME}_SOURCES - COMPILE_FLAGS -march=i686) -endif(NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID) - set_gnulike_module_compile_flags("-Wno-sign-compare") include(../CMakeCommon.txt)