facebook/folly

build on windows error for cmake Evaluation file to be written multiple times with different content

Closed this issue · 0 comments

error log

-- Configuring done
CMake Error in CMakeLists.txt:
  Evaluation file to be written multiple times with different content.  This
  is generally caused by the content evaluating the configuration type,
  language, or location of object files:

   Z:/build/folly/libfolly.pc


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Command '['Z:\\build\\folly\\succeed.bat', '&&', 'Z:\\installed\\cmake-KhlsstpOWq6wlNQLmWLqVMDwIGlXKy8JdC7ii2Vs4K0\\bin\\cmake.exe', 'D:\\code\\folly', '-DCMAKE_INSTALL_PREFIX=Z:\\installed\\folly', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBOOST_LINK_STATIC=ON', '-DBUILD_TESTS=ON', '-DBUILD_BENCHMARKS=OFF', '-G', 'Ninja']' returned non-zero exit status 1.
!! Failed
PS D:\code\folly>