Skip to content

Commit

Permalink
Merge pull request #58 from marthinsen/correct-linker-macro-name
Browse files Browse the repository at this point in the history
Correct macro name for enabling user linker
  • Loading branch information
lefticus authored Mar 18, 2024
2 parents ae33e44 + 27f4ead commit 0faa5f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ProjectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ macro(myproject_local_options)

if(myproject_ENABLE_USER_LINKER)
include(cmake/Linker.cmake)
configure_linker(myproject_options)
myproject_configure_linker(myproject_options)
endif()

include(cmake/Sanitizers.cmake)
Expand Down
2 changes: 1 addition & 1 deletion cmake/Linker.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ macro(myproject_configure_linker project_name)
"Using custom linker: '${USER_LINKER_OPTION}', explicitly supported entries are ${USER_LINKER_OPTION_VALUES}")
endif()

if(NOT ENABLE_USER_LINKER)
if(NOT myproject_ENABLE_USER_LINKER)
return()
endif()

Expand Down

0 comments on commit 0faa5f7

Please sign in to comment.