Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit f65ec5e

Browse files
authored
Merge pull request #83 from Milerius/dev
update CMake install
2 parents 5ecdf0f + 3010ba6 commit f65ec5e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ target_link_libraries(shiva INTERFACE
5757
shiva::pyscripting
5858
shiva::range
5959
shiva::reflection
60+
shiva::shiva-spdlog
6061
shiva::stacktrace
6162
shiva::timer
6263
shiva::world

cmake/shiva-config.cmake.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ include("${CMAKE_CURRENT_LIST_DIR}/shiva-lua-targets.cmake")
2929
find_package(pybind11 CONFIG REQUIRED)
3030
include("${CMAKE_CURRENT_LIST_DIR}/shiva-pyscripting-targets.cmake")
3131

32+
find_package(Threads REQUIRED)
33+
find_package(spdlog CONFIG REQUIRED)
34+
find_package(fmt CONFIG REQUIRED)
35+
include("${CMAKE_CURRENT_LIST_DIR}/shiva-shiva-spdlog-targets.cmake")
36+
3237
include("${CMAKE_CURRENT_LIST_DIR}/shiva-world-targets.cmake")
3338
include("${CMAKE_CURRENT_LIST_DIR}/shiva-targets.cmake")
3439

@@ -47,5 +52,6 @@ check_required_components("ecs")
4752
check_required_components("input")
4853
check_required_components("lua")
4954
check_required_components("pyscripting")
55+
check_required_components("spdlog")
5056
check_required_components("world")
5157
check_required_components("shiva")

0 commit comments

Comments
 (0)