forked from osmocom/wireshark
Fix OSX CMake warnings
Set the CMake policy for CMP0042 to old Change-Id: I2b71e1d8d9b9b90ede11df1a7874a2360c3032c5 Reviewed-on: https://code.wireshark.org/review/8740 Reviewed-by: Graham Bloice <graham.bloice@trihedral.com> Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
ec3f923e3e
commit
2adeb9969f
|
@ -53,6 +53,11 @@ if (POLICY CMP0054)
|
|||
cmake_policy(SET CMP0054 OLD)
|
||||
endif()
|
||||
|
||||
# Set old behaviour for MACOSX_RPATH
|
||||
if (POLICY CMP0042)
|
||||
cmake_policy(SET CMP0042 OLD)
|
||||
endif()
|
||||
|
||||
# If our target platform is enforced by our generator, set
|
||||
# WIRESHARK_TARGET_PLATFORM accordingly. Otherwise use
|
||||
# %WIRESHARK_TARGET_PLATFORM%.
|
||||
|
|
Loading…
Reference in New Issue