Skip to content

Commit 64bbeca

Browse files
committed
Set dummy version if the project is directly built with CMake (fixes compilation)
1 parent 24d7e3e commit 64bbeca

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
cmake_minimum_required(VERSION 3.15...3.27)
22

3+
if (NOT DEFINED SKBUILD_PROJECT_VERSION)
4+
set(SKBUILD_PROJECT_VERSION "0.0.0")
5+
endif()
6+
37
project(xatlas-python LANGUAGES CXX
48
VERSION ${SKBUILD_PROJECT_VERSION})
59

0 commit comments

Comments
 (0)