Remove the CMAKE_C_COMPILER_WORKS hack.

This hack worked around some early bugs clang which are fixed now,
so we can remove it. This way, if there's a problem causing clang
to not "work", we won't silently ignore it.
remove-hacks
Dan Gohman 6 years ago
parent 6aa39c8054
commit 372bac34d1

@ -27,7 +27,3 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
# Some other hacks
set(CMAKE_C_COMPILER_WORKS ON)
set(CMAKE_CXX_COMPILER_WORKS ON)

Loading…
Cancel
Save