From b11ef75c5a8b581d600a15f5e884f01aeb177b91 Mon Sep 17 00:00:00 2001 From: namedkitten Date: Thu, 7 May 2020 11:10:40 +0100 Subject: [PATCH] Update cmakelist for spdlog path. --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f70115..dc688c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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