mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
Mac: set policy to silent cmake >= 3.0 warnings
Set the following policies to "OLD" if cmake version is greater than 2.8.12: CMP0026 - Disallow use of the LOCATION target property CMP0045 - Error on non-existent target in get_target_property
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
|
||||
project(MacFreeRDP-library)
|
||||
|
||||
|
||||
if(${CMAKE_VERSION} GREATER 2.8.12)
|
||||
cmake_policy(SET CMP0026 OLD)
|
||||
cmake_policy(SET CMP0045 OLD)
|
||||
endif()
|
||||
|
||||
set(MODULE_NAME "MacFreeRDP-library")
|
||||
set(MODULE_OUTPUT_NAME "MacFreeRDP")
|
||||
set(MODULE_PREFIX "FREERDP_CLIENT_MAC_LIBRARY")
|
||||
|
||||
Reference in New Issue
Block a user