From cba7a8a537009fa9aca392bfb4078479ea068ccf Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Wed, 28 Apr 2021 09:30:25 +0100 Subject: [PATCH] Remove dead CMake code (#1230) Remove CMake statements that have no effect in math_brute_force. set_source_files_properties without a list of files has no effect. When MODULE_NAME is FOO, set_source_files_properties(${MODULE_NAME}_SOURCES ...) sets the properties of "FOO_SOURCES", not of the files listed in the variable named FOO_SOURCES. Signed-off-by: Marco Antognini --- test_conformance/math_brute_force/CMakeLists.txt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test_conformance/math_brute_force/CMakeLists.txt b/test_conformance/math_brute_force/CMakeLists.txt index 96433945..d8dfc403 100644 --- a/test_conformance/math_brute_force/CMakeLists.txt +++ b/test_conformance/math_brute_force/CMakeLists.txt @@ -34,15 +34,4 @@ set(${MODULE_NAME}_SOURCES utility.cpp ) -if (NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID) -set_source_files_properties( -${MODULE_NAME}_SOURCES - COMPILE_FLAGS -march=i686) -endif (NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID) - -if(CMAKE_COMPILER_IS_GNUCC) -set_source_files_properties( - COMPILE_FLAGS -O0) -endif(CMAKE_COMPILER_IS_GNUCC) - include(../CMakeCommon.txt)