Skip to content

Commit

Permalink
Turn off FMT_INSTALL to prevent accidental installs.
Browse files Browse the repository at this point in the history
Fixes #865.
  • Loading branch information
MarkCallow committed Mar 13, 2024
1 parent 8615982 commit f219b95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1069,6 +1069,7 @@ endif()
# this CMakeLists is included in another project which is unlikely
# except for building the ktx library.
if((KTX_FEATURE_TOOLS OR KTX_FEATURE_TESTS) AND NOT TARGET fmt::fmt)
set(FMT_INSTALL OFF)
set(FMT_SYSTEM_HEADERS ON)
add_subdirectory(other_projects/fmt)
endif()
Expand Down

0 comments on commit f219b95

Please sign in to comment.