diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-06-01 22:09:01 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-06-01 22:09:01 -0500 |
commit | 21c6376f3354c284efca7fe45b0ceac88727060f (patch) | |
tree | ac3ef82e40c0fc117193c53d5428490fa464d5bb /cmake | |
parent | Merge pull request #7713 (diff) | |
parent | cmake: fix check_linker_flag (diff) | |
download | monero-21c6376f3354c284efca7fe45b0ceac88727060f.tar.xz |
Merge pull request #7715
0c13623 cmake: fix check_linker_flag (selsta)
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CheckLinkerFlag.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/CheckLinkerFlag.cmake b/cmake/CheckLinkerFlag.cmake index 2b507ab71..7ecf5f610 100644 --- a/cmake/CheckLinkerFlag.cmake +++ b/cmake/CheckLinkerFlag.cmake @@ -15,6 +15,7 @@ macro(CHECK_LINKER_FLAG flag VARIABLE) ${_cle_source} COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${flag} CMAKE_FLAGS + "-DCMAKE_EXE_LINKER_FLAGS=${flag}" OUTPUT_VARIABLE OUTPUT) unset(_cle_source) set(CMAKE_C_FLAGS ${saved_CMAKE_C_FLAGS}) |