seznam / httpmockserver

C++ HTTP mock server for client tests.
https://seznam.github.io/httpmockserver
MIT License
32 stars 13 forks source link

I've got cmake error while building. #2

Closed mirkub closed 6 years ago

mirkub commented 6 years ago

$ cmake .. -- The CXX compiler identification is GNU 4.8.5 -- 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 -- Checking compiler C++11 support. -- httpmockserver CMake Options -- ======================================================= -- USE_ALL_SYSTEM_LIBS: OFF -- USE_SYSTEM_CPR: OFF -- USE_SYSTEM_GTEST: OFF -- ======================================================= -- Found mhd: /usr/include
-- Found CURL: /usr/lib64/libcurl.so (found version "7.29.0") CMake Error at external/CMakeLists.txt:15 (add_subdirectory): The source directory

/home/miro/dev/httpmockserver/external/cpr

does not contain a CMakeLists.txt file.

CMake Error at external/CMakeLists.txt:27 (add_subdirectory): The source directory

/home/miro/dev/httpmockserver/external/gtest

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!

mirkub commented 6 years ago

I forgot to run: git submodule update --init --recursive