Skip to content

Commit 6de7a7b

Browse files
committed
cmake: fix format
1 parent cbe2c02 commit 6de7a7b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

CMakeLists.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,9 @@ if(PCAPPP_BUILD_REPRODUCIBLE)
268268
endif()
269269
elseif(MSVC)
270270
message(FATAL_ERROR "Unsupported with MSVC compiler")
271-
# Try to build a reproducible static library with MSVC doesn't work
272-
# but this option should make it work for shared libraries or executables.
273-
# add_compile_options(/Brepro)
274-
# add_compile_options(/experimental:deterministic)
275-
# add_link_options(/Brepro)
276-
# add_link_options(/experimental:deterministic)
277-
# add_link_options(/INCREMENTAL:NO)
271+
# Try to build a reproducible static library with MSVC doesn't work but this option should make it work for shared
272+
# libraries or executables. add_compile_options(/Brepro) add_compile_options(/experimental:deterministic)
273+
# add_link_options(/Brepro) add_link_options(/experimental:deterministic) add_link_options(/INCREMENTAL:NO)
278274
else()
279275
# We should not use __DATE__ nor __TIME__ in case of reproducible build
280276
add_compile_options(-Wdate-time)

0 commit comments

Comments
 (0)