mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
cmake: fix check_linker_flag
This commit is contained in:
parent
0a1ddc2eff
commit
0c13623411
1 changed files with 1 additions and 0 deletions
|
@ -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})
|
||||
|
|
Loading…
Reference in a new issue