I'm trying to compile libfmt on Windows. I'm using Visual Studio 2019 Community and the cmake provided by the VS installation (3.19).
What I get is the following (very strange) error:
> cmake -DFMT_TEST=NO ..
-- CMake version: 3.19.20122902-MSVC_2
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
-- Version: 7.1.3
-- Build type: Release
-- CXX_STANDARD: 11
-- Required features: cxx_variadic_templates
-- Target 'doc' disabled (requires doxygen)
-- Configuring done
CMake Error at CMakeLists.txt:194 (add_library):
Cannot find source file:
README.rst
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc
CMake Error at CMakeLists.txt:194 (add_library):
No SOURCES given to target: fmt
CMake Generate step failed. Build files cannot be regenerated correctly.
Am I doing anything wrong?
I'm trying to compile libfmt on Windows. I'm using Visual Studio 2019 Community and the
cmakeprovided by the VS installation (3.19).What I get is the following (very strange) error:
Am I doing anything wrong?