mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-28 09:58:53 -06:00
The MSVC `/FI` flag accepts an attached value or a following argument. Previously our flag tables only had entries for the former. Add the latter. Fixes: #23382
6 lines
181 B
CMake
6 lines
181 B
CMake
enable_language(CXX)
|
|
|
|
add_library(tgt STATIC empty.cxx)
|
|
target_compile_options(tgt PRIVATE "SHELL:/FI force_include_1.h")
|
|
target_compile_options(tgt PRIVATE "/FIforce_include_2.h")
|