cmake. How can I remove all variables defined by cmake -D
at once ?
for example. I defined FOO
and BAR
by
cmake -DFOO=foo -DBAR=bar
Errors orrcur when I run cmake -U* ../
,
CMake Error: File /Modules/CMakeSystem.cmake.in does not exist.
CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:186 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-D
option?