Closed smanders closed 4 years ago
it's failing on the following line https://github.com/smanders/externpro/blob/19.06.1/modules/xpfunmac.cmake#L1681-L1682
elseif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR
${CMAKE_C_COMPILER_ID} MATCHES "Clang" OR ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
because CMAKE_C_COMPILER_ID
is empty
and CMAKE_C_COMPILER_ID
is empty because the project()
call specifies LANGUAGES
now, but didn't include C
the fix is to change the project call to
project(SyersPlugin LANGUAGES CUDA CXX C VERSION 0.9.0.52)
This leads to the following configuration error.