1
0
Fork 0

Update cmakelist for spdlog path.

This commit is contained in:
namedkitten 2020-05-07 11:10:40 +01:00
parent 4c87017f70
commit b11ef75c5a

View file

@ -36,9 +36,8 @@ pkg_check_modules(Xext xext)
option(USE_EXTERNAL_SPDLOG "use external spdlog" OFF)
if(USE_EXTERNAL_SPDLOG)
pkg_check_modules(spdlog REQUIRED spdlog)
include_directories(${spdlog_PREFIX}/include)
message(h ${spdlog_INCLUDE})
include_directories(${EXTERNAL_SPDLOG_PATH}/include)
include_directories(${EXTERNAL_SPDLOG_PATH})
else()
execute_process(
COMMAND git clone --depth 1 https://github.com/gabime/spdlog.git