Skip to content

Commit

Permalink
Making target_compile_options PRIVATE, fix #2726, fix #2507
Browse files Browse the repository at this point in the history
  • Loading branch information
VasiliPupkin256 authored and vitaut committed Jan 23, 2022
1 parent f7a809b commit dfcc730
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 dfcc730

Please sign in to comment.