Got error message in ccmake

dear all
i am new user here, i want to update "OGS_BUILD_UTILS "
but after i run “ccmake .” the i push [c] and [g] i got error
that i am confused to solved it

$<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:2993 (cotire_generate_target_script)
   ThirdParty/cmake-modules/cotire.cmake:3383 (cotire_process_target_language)
   ThirdParty/cmake-modules/cotire.cmake:3567 (cotire_target)
   Tests/CMakeLists.txt:89 (cotire)

 CMake Error at ThirdParty/cmake-modules/cotire.cmake:2374 (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 us:ed with the add_custom_command, add_custom_target, or
   file(GENERATE) commands.
 Call Stack (most recent call first):
   ThirdParty/cmake-modules/cotire.cmake:2993 (cotire_generate_target_script)
   ThirdParty/cmake-modules/cotire.cmake:3383 (cotire_process_target_language)
   ThirdParty/cmake-modules/cotire.cmake:3567 (cotire_target)
   Tests/CMakeLists.txt:89 (cotire)

Anyone could help me?

Welcome to the forum!

Could you try to switch off precompiled headers: -DOGS_USE_PCH=Off ?

– d

Thank you for help…
How to switch off precompiled header?
in “ccmake .” i could not find
-DOGS_USE_PCH=Off

Either on the command line:

cd ogs/build/directory
cmake . -DOGS_USE_PCH=Off

or in ccmake/cmake-gui there is an option OGS_USE_PCH

thank you very much. solved