Skip to content

Commit

Permalink
CMake was installing FMT if Apple Clang wasn't installed
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-bodhi committed Jan 1, 2024
1 parent b51f861 commit d7b3c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d7b3c47

Please sign in to comment.