Skip to content

Commit 812486a

Browse files
committed
Fix CMake path used to read version file
1 parent aa65d10 commit 812486a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NativeImpl/version.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/../version.txt" VERSION_STR)
1+
file(READ "${CMAKE_CURRENT_LIST_DIR}/../version.txt" VERSION_STR)
22
string(STRIP "${VERSION_STR}" VERSION_STR)
33

44
string(REPLACE "." ";" VERSION_PARTS "${VERSION_STR}")

0 commit comments

Comments
 (0)