URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dc91ac5241f89f764fc442f9f8b6245ce308dd2d
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
dc91ac5 by Guy Harris (guy@xxxxxxxxxxxx):
Make CHECK_C_LINKER_FLAG work with, at least, the Xcode generator.
As per a suggestion from a Kitware person in bug 0015934:
https://cmake.org/Bug/view.php?id=15934
We also don't need to check whether the resulting code *runs* -
check_c_source_compiles not only compiles, it links as well.
Change-Id: Ied09b9da7c88ac46f14df14f6a6260037abdbef4
Reviewed-on: https://code.wireshark.org/review/13556
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 7ac62e9 CMake: docs update
adds dc91ac5 Make CHECK_C_LINKER_FLAG work with, at least, the Xcode generator.
Summary of changes:
cmake/modules/CheckCLinkerFlag.cmake | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)