diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake index 09b7286a..23aa4108 100644 --- a/cmake/Dependencies.cmake +++ b/cmake/Dependencies.cmake @@ -94,14 +94,6 @@ if(BUILD_BENCHMARK) message(FATAL_ERROR "DownloadProject.cmake doesn't support multi-configuration generators.") endif() set(GOOGLEBENCHMARK_ROOT ${CMAKE_CURRENT_BINARY_DIR}/deps/googlebenchmark CACHE PATH "") - if(NOT (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) - # hip-clang cannot compile googlebenchmark for some reason - if(WIN32) - set(COMPILER_OVERRIDE "-DCMAKE_CXX_COMPILER=cl") - else() - set(COMPILER_OVERRIDE "-DCMAKE_CXX_COMPILER=g++") - endif() - endif() download_project( PROJ googlebenchmark