Disable SPDLOG_FMT_EXTERNAL cmake setting on macos

This commit is contained in:
Bartek Kryza
2022-02-13 00:17:05 +01:00
parent 47554060f4
commit fb392cb32b

View File

@@ -30,9 +30,9 @@ if(APPLE)
get_target_property(SPDLOG_INCLUDE_DIRS spdlog::spdlog_header_only INTERFACE_INCLUDE_DIRECTORIES)
else(APPLE)
get_target_property(SPDLOG_INCLUDE_DIRS spdlog::spdlog INTERFACE_INCLUDE_DIRECTORIES)
add_definitions(-DSPDLOG_FMT_EXTERNAL)
endif(APPLE)
add_definitions(-DSPDLOG_FMT_EXTERNAL)
message(STATUS "Checking for yaml-cpp...")
find_package(yaml-cpp REQUIRED)