ExternalProject_Add(easyloggingpp URL https://github.com/amrayn/easyloggingpp/archive/refs/tags/v9.97.0.tar.gz CONFIGURE_COMMAND cmake -DCMAKE_INSTALL_PREFIX= #BUILD_COMMAND "" #INSTALL_COMMAND "" ) ExternalProject_Get_property(easyloggingpp BINARY_DIR) set(EASYLOGGINGPP_BINARY_DIR ${BINARY_DIR}) include_directories(${EASYLOGGINGPP_BINARY_DIR}/include)