Skip to content

Commit 0faa5f7

Browse files
authored
Merge pull request #58 from marthinsen/correct-linker-macro-name
Correct macro name for enabling user linker
2 parents ae33e44 + 27f4ead commit 0faa5f7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ProjectOptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ macro(myproject_local_options)
132132

133133
if(myproject_ENABLE_USER_LINKER)
134134
include(cmake/Linker.cmake)
135-
configure_linker(myproject_options)
135+
myproject_configure_linker(myproject_options)
136136
endif()
137137

138138
include(cmake/Sanitizers.cmake)

cmake/Linker.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ macro(myproject_configure_linker project_name)
1818
"Using custom linker: '${USER_LINKER_OPTION}', explicitly supported entries are ${USER_LINKER_OPTION_VALUES}")
1919
endif()
2020

21-
if(NOT ENABLE_USER_LINKER)
21+
if(NOT myproject_ENABLE_USER_LINKER)
2222
return()
2323
endif()
2424

0 commit comments

Comments
 (0)