Dear all
I am a new user here. recently i am learning phasefield fracture and tryng to configure the H2M_phasefield code. However the error occured during the process of configuration and really confused me. The error is shown as
CMake Error at ThirdParty/cmake-modules/cotire.cmake:2254 (file):
Error evaluating generator expression:
$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>
$<COMPILE_LANG_AND_ID:lang,id> may only be used with binary targets to
specify include directories, compile definitions, and compile options. It
may not be used with the add_custom_command, add_custom_target, or
file(GENERATE) commands.
Call Stack (most recent call first):
ThirdParty/cmake-modules/cotire.cmake:2848 (cotire_generate_target_script)
ThirdParty/cmake-modules/cotire.cmake:3254 (cotire_process_target_language)
ThirdParty/cmake-modules/cotire.cmake:3431 (cotire_target)
Tests/CMakeLists.txt:76 (cotire)
CMake Error at ThirdParty/cmake-modules/cotire.cmake:2254 (file):
Error evaluating generator expression:
$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>
$<COMPILE_LANG_AND_ID:lang,id> may only be used with binary targets to
specify include directories, compile definitions, and compile options. It
may not be used with the add_custom_command, add_custom_target, or
file(GENERATE) commands.
Call Stack (most recent call first):
ThirdParty/cmake-modules/cotire.cmake:2848 (cotire_generate_target_script)
ThirdParty/cmake-modules/cotire.cmake:3254 (cotire_process_target_language)
ThirdParty/cmake-modules/cotire.cmake:3431 (cotire_target)
Tests/CMakeLists.txt:76 (cotire)
could someone give me help?
thanks.
Augustus