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=69b1ce45302e3f1a85dc78a4f9b0a380e4222b63;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: