cmake version 3.14.3
这个问题怎么解决啊
– The C compiler identification is GNU 7.3.0
– The CXX compiler identification is GNU 7.3.0
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
CMake Error at CMakeLists.txt:97 (ADD_TARGET_DEFINITIONS):
Unknown CMake command “ADD_TARGET_DEFINITIONS”.
– Configuring incomplete, errors occurred! See also “/home/wang/code/epoch-4.12.8/SDF/VisIt/CMakeFiles/CMakeOutput.log”.
make[1]: Entering directory ‘/home/wang/code/epoch-4.12.8/SDF/VisIt’
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory ‘/home/wang/code/epoch-4.12.8/SDF/VisIt’
ERROR: Failed to build VisIt reader. Makefile:384: recipe for target
‘visit’ failed make: *** [visit] Error 1
---------------------
作者:zsunflowerwq
来源:CSDN
原文:https://blog.csdn.net/zsunflowerwq/article/details/89644390
版权声明:本文为博主原创文章,转载请附上博文链接!