Commit 58447949 authored by Committed by James Zern
Fix CMake build configurations using linker flag dependent compiler flags.
The CMake compiler test functions are built atop CMake's try_compile() function. try_compile() ignores configuration specific link flags in favor of the generic linker flag variable (CMAKE_EXE_LINKER_FLAGS is used instead of CMAKE_EXE_LINKER_FLAGS_<CONFIG>). This patch applies the flags cached in AOM_EXE_LINKER_FLAGS to CMAKE_EXE_LINKER_FLAGS during C and C++ compiler tests. Change-Id: I831244d114a8195527bcb865537494a98cabc170
Showing with 16 additions and 0 deletions