mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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.
This commit is contained in:
committed by
GitHub
parent
a977e35e0b
commit
43237f74a8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user