aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindSpdlog.cmake
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-03-01 10:24:19 +1000
committerfuzzard <fuzzard@kodi.tv>2022-03-07 20:07:34 +1000
commitf30741c2bd2c3a9c84aa0714f1e3746749d7ffd5 (patch)
tree9fa773aa945605ec59da03b95072a2ac2a6967ee /cmake/modules/FindSpdlog.cmake
parent5124d6cc06f112a93de3801f56cc80a554753aec (diff)
[cmake] FindSpdlog utilise automated variables
Use automated BYPRODUCT, INCLUDE_DIRS, LIBRARY, VER variables
Diffstat (limited to 'cmake/modules/FindSpdlog.cmake')
-rw-r--r--cmake/modules/FindSpdlog.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmake/modules/FindSpdlog.cmake b/cmake/modules/FindSpdlog.cmake
index 3fef9e8ac6..4559d3e2e5 100644
--- a/cmake/modules/FindSpdlog.cmake
+++ b/cmake/modules/FindSpdlog.cmake
@@ -25,8 +25,6 @@ if(ENABLE_INTERNAL_SPDLOG)
set(EXTRA_ARGS "-DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}")
endif()
- set(SPDLOG_LIBRARY ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/lib/libspdlog.a)
- set(SPDLOG_INCLUDE_DIR ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/include)
set(SPDLOG_VERSION ${${MODULE}_VER})
set(CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}
@@ -40,7 +38,6 @@ if(ENABLE_INTERNAL_SPDLOG)
-DSPDLOG_FMT_EXTERNAL=ON
-DCMAKE_PREFIX_PATH=${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}
"${EXTRA_ARGS}")
- set(BUILD_BYPRODUCTS ${SPDLOG_LIBRARY})
BUILD_DEP_TARGET()