From d7b3c47def92ffa603aa0f9d60d000761845d2c7 Mon Sep 17 00:00:00 2001 From: Eric Floyd Date: Mon, 1 Jan 2024 14:20:52 -0500 Subject: [PATCH] CMake was installing FMT if Apple Clang wasn't installed --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 562c6e4ba..b34f72e09 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,7 +114,7 @@ target_include_directories( PRIVATE "${CMAKE_CURRENT_LIST_DIR}/include" ) -if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") +if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") add_subdirectory(externals/fmt) set(FMT_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/externals/fmt/include") target_link_libraries(${LIBRARY_NAME} PRIVATE fmt)