mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 12:20:04 +00:00
Add spdlog as a dependency
This commit is contained in:
parent
72b69cea4b
commit
50efaebbae
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -25,3 +25,6 @@
|
||||
[submodule "fmt"]
|
||||
path = externals/fmt
|
||||
url = https://github.com/fmtlib/fmt.git
|
||||
[submodule "spdlog"]
|
||||
path = externals/spdlog
|
||||
url = https://github.com/gabime/spdlog.git
|
||||
|
4
externals/CMakeLists.txt
vendored
4
externals/CMakeLists.txt
vendored
@ -48,3 +48,7 @@ if (ARCHITECTURE_x86_64)
|
||||
target_include_directories(xbyak INTERFACE ./xbyak/xbyak)
|
||||
target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES)
|
||||
endif()
|
||||
|
||||
# Spdlog
|
||||
add_library(spdlog INTERFACE)
|
||||
target_include_directories(spdlog INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/spdlog/include)
|
||||
|
1
externals/spdlog
vendored
Submodule
1
externals/spdlog
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit f85a08622e20b74bff34381cafcb8ef8167b29d0
|
@ -95,7 +95,9 @@ endif()
|
||||
create_directory_groups(${SRCS} ${HEADERS})
|
||||
|
||||
add_library(common STATIC ${SRCS} ${HEADERS})
|
||||
target_link_libraries(common PUBLIC Boost::boost microprofile)
|
||||
|
||||
target_link_libraries(common PUBLIC Boost::boost microprofile spdlog)
|
||||
|
||||
if (ARCHITECTURE_x86_64)
|
||||
target_link_libraries(common PRIVATE xbyak)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user