Skip to content

Commit 71127f1

Browse files
committed
Updates project version to 3.4.0
Bumps the project's version number from 3.3.0 to 3.4.0. Adds a compile definition to expose the project version via the `OMATH_VERSION` macro.
1 parent 89041e2 commit 71127f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.26)
22

3-
project(omath VERSION 3.3.0 LANGUAGES CXX)
3+
project(omath VERSION 3.4.0 LANGUAGES CXX)
44

55
include(CMakePackageConfigHelpers)
66

@@ -39,6 +39,8 @@ endif ()
3939

4040
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
4141

42+
target_compile_definitions(${PROJECT_NAME} PUBLIC OMATH_VERSION="${PROJECT_VERSION}")
43+
4244
if (OMATH_IMGUI_INTEGRATION)
4345
target_compile_definitions(${PROJECT_NAME} PUBLIC OMATH_IMGUI_INTEGRATION)
4446

0 commit comments

Comments
 (0)