We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f8d85 commit f7dbf5fCopy full SHA for f7dbf5f
cmake/modules/extensions.cmake
@@ -449,6 +449,9 @@ macro(zephyr_library_get_current_dir_lib_name base lib_name)
449
# Replace : with __ (C:/zephyrproject => C____zephyrproject)
450
string(REGEX REPLACE ":" "__" name ${name})
451
452
+ # Replace ~ with - (driver~serial => driver-serial)
453
+ string(REGEX REPLACE "~" "-" name ${name})
454
+
455
set(${lib_name} ${name})
456
endmacro()
457
0 commit comments