Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused detect code compiled function #873

Merged
Prev Previous commit
detect_code_compiled is something from the past and is no longer used
  • Loading branch information
killerbot242 committed Aug 2, 2024
commit e2915b83d29bd1847f1d93ade5613ccf40db0c6d
10 changes: 0 additions & 10 deletions cmake/config.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
function(detect_code_compiled code macro msg)
message(STATUS "Detecting ${msg}")
check_cxx_source_compiles("${code}" "${macro}" FAIL_REGEX "warning")
if(${macro})
message(STATUS "Detecting ${msg} - supported")
else()
message(STATUS "Detecting ${msg} - not supported")
endif()
endfunction(detect_code_compiled)

include(CheckIncludeFileCXX)
include(CheckFunctionExists)
include(CheckCXXSourceCompiles)
Expand Down
Loading