Skip to content

Commit

Permalink
fix missing date
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Dec 2, 2024
1 parent f155b79 commit 5bdb354
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
cmake_minimum_required(VERSION 3.13)
project(Slic3r)

if (EXISTS "version.date.inc")
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/version.date.inc")
include("version.date.inc")
else()
message(STATUS "Warning: cannot find file 'version.date.inc', using template 'version.inc' instead.")
include("version.inc")
endif()
include(GNUInstallDirs)
Expand Down

0 comments on commit 5bdb354

Please sign in to comment.