aboutsummaryrefslogtreecommitdiff
path: root/cmake/Findspdlog.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Findspdlog.cmake')
-rw-r--r--cmake/Findspdlog.cmake14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmake/Findspdlog.cmake b/cmake/Findspdlog.cmake
deleted file mode 100644
index e286724..0000000
--- a/cmake/Findspdlog.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-include(FindPackageHandleStandardArgs)
-
-find_library(SPDLOG_LIBRARY NAMES spdlog)
-
-find_package_handle_standard_args(spdlog REQUIRED_VARS SPDLOG_LIBRARY)
-
-if (SPDLOG_FOUND)
- mark_as_advanced(SPDLOG_LIBRARY)
-endif()
-
-if(SPDLOG_FOUND AND NOT TARGET spdlog::spdlog)
- add_library(spdlog::spdlog IMPORTED UNKNOWN)
- set_property(TARGET spdlog::spdlog PROPERTY IMPORTED_LOCATION ${SPDLOG_LIBRARY})
-endif() \ No newline at end of file