Skip to content

Commit

Permalink
build(Utils.cmake): remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
c0nstexpr committed May 28, 2024
1 parent b951432 commit 24e81ac
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmake/Utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ function(verbose_message)
endif()
endfunction()

function(target_clang_toolchain target lib_type)
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(${target} ${lib_type} "-stdlib=libc++")
target_link_options(${target} ${lib_type} "--ld-path=ld.lld")
endif()
endfunction()

function(target_include_as_system target_name)
get_target_property(included ${target_name} INTERFACE_INCLUDE_DIRECTORIES)
get_target_property(target_type ${target_name} TYPE)
Expand Down

0 comments on commit 24e81ac

Please sign in to comment.