From: Daniel Arndt Date: Fri, 27 Sep 2019 17:10:00 +0000 (+0000) Subject: Fix setting host compiler X-Git-Tag: v9.2.0-rc1~1004^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8876%2Fhead;p=dealii.git Fix setting host compiler --- diff --git a/cmake/macros/macro_deal_ii_invoke_autopilot.cmake b/cmake/macros/macro_deal_ii_invoke_autopilot.cmake index 2d41ea0000..2fe7f4b464 100644 --- a/cmake/macros/macro_deal_ii_invoke_autopilot.cmake +++ b/cmake/macros/macro_deal_ii_invoke_autopilot.cmake @@ -46,8 +46,8 @@ MACRO(DEAL_II_INVOKE_AUTOPILOT) # Make sure we can treat CUDA targets if available IF(DEAL_II_WITH_CUDA) - ENABLE_LANGUAGE(CUDA) SET(CMAKE_CUDA_HOST_COMPILER "${CMAKE_CXX_COMPILER}") + ENABLE_LANGUAGE(CUDA) ENDIF() # Define and setup a compilation target: