Skip to content

Commit 9225bd4

Browse files
committed
[cmake] Set project version in CMake using an env var
1 parent cef93a7 commit 9225bd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC
4343

4444
sofa_create_package_with_targets(
4545
PACKAGE_NAME ${PROJECT_NAME}
46-
PACKAGE_VERSION 0.1
46+
PACKAGE_VERSION ${PROJECT_VERSION}
4747
TARGETS ${PROJECT_NAME}
4848
INCLUDE_INSTALL_DIR ${${PROJECT_NAME}_INCLUDE_DIRS}
4949
)

0 commit comments

Comments
 (0)