2017-01-12 06:55:35 +08:00
|
|
|
include(CheckCXXCompilerFlag)
|
|
|
|
|
|
|
|
function(check_linker_flag flag out_var)
|
2017-10-31 09:30:46 +08:00
|
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${flag}")
|
2017-01-12 06:55:35 +08:00
|
|
|
check_cxx_compiler_flag("" ${out_var})
|
|
|
|
endfunction()
|