Skip to content

Commit

Permalink
Use current project name as target_base
Browse files Browse the repository at this point in the history
CMAKE_PROJECT_NAME is a "global" project name while PROJECT_NAME is the current (local) project name.
  • Loading branch information
jensboe committed Nov 5, 2023
1 parent a771042 commit 7442e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_script_generator/cmake/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def build(env):

def flag_format(flag):
subs = {
"target_base": "${CMAKE_PROJECT_NAME}",
"target_base": "${PROJECT_NAME}",
"project_source_dir": "${CMAKE_SOURCE_DIR}",
"gccpath": "${MODM_GCC_PATH}",
}
Expand Down

0 comments on commit 7442e06

Please sign in to comment.