Skip to content

Commit

Permalink
cmake: disable incremental build in reproducible mode
Browse files Browse the repository at this point in the history
  • Loading branch information
clementperon committed Apr 24, 2024
1 parent 4423cd2 commit fc78ab2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ if(PCAPPP_BUILD_REPRODUCIBLE)
endif()
elseif(MSVC)
add_link_options(/Brepro)
add_link_options(/INCREMENTAL:NO)
else()
# We should not use __DATE__ nor __TIME__ in case of reproducible build
add_compile_options(-Wdate-time)
Expand Down

0 comments on commit fc78ab2

Please sign in to comment.