Skip to content

Commit

Permalink
Making target_compile_options PRIVATE, fix fmtlib#2726, fix fmtlib#2507
Browse files Browse the repository at this point in the history
  • Loading branch information
VasiliPupkin256 committed Jan 22, 2022
1 parent 09fde7f commit 793a53a
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 @@ -251,7 +251,7 @@ endif ()
if (MINGW)
check_cxx_compiler_flag("-Wa,-mbig-obj" FMT_HAS_MBIG_OBJ)
if (${FMT_HAS_MBIG_OBJ})
target_compile_options(fmt PUBLIC "-Wa,-mbig-obj")
target_compile_options(fmt PRIVATE "-Wa,-mbig-obj")
endif()
endif ()

Expand Down

0 comments on commit 793a53a

Please sign in to comment.