Skip to content

Commit 5d7fd4d

Browse files
authored
Fix template generator for CMake (#115)
***NO_CI***
1 parent 6e41917 commit 5d7fd4d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

MetadataProcessor.Core/SkeletonGenerator/SkeletonTemplates.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ struct {{ClassName}}
258258

259259
internal const string CMakeModuleTemplate =
260260
@"#
261-
# Copyright(c) 2020 The nanoFramework project contributors
261+
# Copyright (c) .NET Foundation and Contributors
262262
# See LICENSE file in the project root for full license information.
263263
#
264264
@@ -300,8 +300,9 @@ struct {{ClassName}}
300300
set({{AssemblyName}}_SRC_FILE SRC_FILE-NOTFOUND)
301301
find_file({{AssemblyName}}_SRC_FILE ${SRC_FILE}
302302
PATHS
303-
""${BASE_PATH_FOR_THIS_MODULE}""
304-
""${TARGET_BASE_LOCATION}""
303+
${BASE_PATH_FOR_THIS_MODULE}
304+
${TARGET_BASE_LOCATION}
305+
${PROJECT_SOURCE_DIR}/src/{{AssemblyName}}
305306
306307
CMAKE_FIND_ROOT_PATH_BOTH
307308
)

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "2.24",
3+
"version": "2.25",
44
"release": {
55
"branchName" : "release-v{version}",
66
"versionIncrement" : "build",

0 commit comments

Comments
 (0)