Skip to content

Commit

Permalink
stop tolk.dll from changing on each rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
qndel committed Oct 4, 2024
1 parent 1a32a70 commit 216340a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 3rdParty/tolk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ FetchContent_Declare(Tolk
)
FetchContent_MakeAvailableExcludeFromAll(Tolk)

# Fixed build date to prevent diff in tolk.dll on each rebuild
add_definitions(-D__DATE__="0" -D__TIME__="0")

target_include_directories(Tolk PUBLIC ${libTolk_SOURCE_DIR}/src)

if(CMAKE_SIZEOF_VOID_P EQUAL 4)
Expand Down

0 comments on commit 216340a

Please sign in to comment.