Skip to content

Commit f9398c5

Browse files
committed
fix(cmake): don't use CMAKE_SOURCE_DIR to locate the package.json
1 parent 96794c7 commit f9398c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MIT
44

55
cmake_minimum_required(VERSION 3.28)
6-
file(READ "${CMAKE_SOURCE_DIR}/package.json" PACKAGE_JSON)
6+
file(READ "package.json" PACKAGE_JSON)
77
string(JSON PACKAGE_JSON_PROJECT_VERSION GET "${PACKAGE_JSON}" version)
88
string(
99
REGEX REPLACE

0 commit comments

Comments
 (0)