diff options
author | selsta <selsta@sent.at> | 2021-05-12 02:09:55 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-05-12 02:09:55 +0200 |
commit | 0c13623411779778479c3c3fe8c8d2163ddfb4b0 (patch) | |
tree | 353992aecc8cf9ab5eed32fea7a829560057567e /cmake | |
parent | Merge pull request #7669 (diff) | |
download | monero-0c13623411779778479c3c3fe8c8d2163ddfb4b0.tar.xz |
cmake: fix check_linker_flag
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}) |