Skip to content
  • Tom Finegan's avatar
    Fix CMake build configurations using linker flag dependent compiler flags. · 58447949
    Tom Finegan authored and James Zern's avatar James Zern committed
    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
    58447949