eidheim / Simple-Web-Server

A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications.
MIT License
2.61k stars 751 forks source link

Cannot find source file -- CMake version requirement is outdated #191

Closed taivop closed 6 years ago

taivop commented 6 years ago

We're using a feature from CMake 3.0 but declaring 2.8.8 as the minimum requirement (see related discussion here).

~/taivo/Simple-Web-Server/build$ cmake --version
cmake version 2.8.12.2

~/taivo/Simple-Web-Server/build$ cmake ..
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   thread
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   regex
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
-- Configuring done
CMake Error at CMakeLists.txt:14 (add_library):
  Cannot find source file:

    INTERFACE

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

-- Build files have been written to: /home/ubuntu/taivo/Simple-Web-Server/build
eidheim commented 6 years ago

See comment on #192