Use CMAKE_EXE_LINKER_FLAGS to set link flags on executables.
authorGuy Harris <guy@alum.mit.edu>
Wed, 3 Oct 2018 20:03:17 +0000 (13:03 -0700)
committerGuy Harris <guy@alum.mit.edu>
Wed, 3 Oct 2018 20:04:16 +0000 (20:04 +0000)
commit84447550efdad68acfc69281750ed016f7f96716
tree6758f6f865e2dd53e164e7acc29eaaa66a2c6b3c
parent1666d8910701c91b4ae16a3706dcb5ff8f4cefbd
Use CMAKE_EXE_LINKER_FLAGS to set link flags on executables.

Just set CMAKE_EXE_LINKER_FLAGS to include ${WS_LINK_FLAGS}, and also
set it to include setargv.obj on Windows.

This is a bit simpler.

Change-Id: Idf9c632d9d3bff1ec6e70396641319155e08aa4f
Reviewed-on: https://code.wireshark.org/review/30004
Reviewed-by: Guy Harris <guy@alum.mit.edu>
CMakeLists.txt