Update cmakelist for spdlog path.
This commit is contained in:
parent
4c87017f70
commit
b11ef75c5a
|
@ -36,9 +36,8 @@ pkg_check_modules(Xext xext)
|
||||||
option(USE_EXTERNAL_SPDLOG "use external spdlog" OFF)
|
option(USE_EXTERNAL_SPDLOG "use external spdlog" OFF)
|
||||||
|
|
||||||
if(USE_EXTERNAL_SPDLOG)
|
if(USE_EXTERNAL_SPDLOG)
|
||||||
pkg_check_modules(spdlog REQUIRED spdlog)
|
include_directories(${EXTERNAL_SPDLOG_PATH}/include)
|
||||||
include_directories(${spdlog_PREFIX}/include)
|
include_directories(${EXTERNAL_SPDLOG_PATH})
|
||||||
message(h ${spdlog_INCLUDE})
|
|
||||||
else()
|
else()
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND git clone --depth 1 https://github.com/gabime/spdlog.git
|
COMMAND git clone --depth 1 https://github.com/gabime/spdlog.git
|
||||||
|
|
Loading…
Reference in a new issue