最近研究CMake,发现如gtest,zlib这些项目都支持CMake,于是拿来编译了一下,gtest一切正常,zlib则是windows下正常,Ubuntu下出了问题
CMake Error at lib/zlib/CMakeLists.txt:65 (message):
You must remove lib/zlib/zconf.h from the source
tree. This file is included with zlib but CMake generates this file for
you automatically in the build directory.
到zlib目录下干掉zconf.h,在重新编译[……]