Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clementperon committed May 25, 2024
1 parent fc78ab2 commit 73ccd0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ if(PCAPPP_BUILD_REPRODUCIBLE)
message(FATAL_ERROR "You need to set `export ZERO_AR_DATE=1`")
endif()
elseif(MSVC)
add_compile_options(/Brepro)
add_compile_options(/experimental:deterministic)
add_link_options(/Brepro)
add_link_options(/experimental:deterministic)
add_link_options(/INCREMENTAL:NO)
else()
# We should not use __DATE__ nor __TIME__ in case of reproducible build
Expand Down

0 comments on commit 73ccd0f

Please sign in to comment.