add_library(DeerithCore) find_package(spdlog REQUIRED) find_package(fmt REQUIRED) find_package(glm REQUIRED) file(GLOB_RECURSE DEERITH_CORE_SOURCES CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp ) target_sources(DeerithCore PRIVATE ${DEERITH_CORE_SOURCES} ) target_include_directories(DeerithCore PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include ) target_link_libraries(DeerithCore PUBLIC spdlog::spdlog fmt::fmt glm::glm )