Fix for missing policy

This commit is contained in:
KimLS 2018-09-03 00:41:59 -07:00
parent 71d6e97df2
commit d2340d3f2e

View File

@ -28,7 +28,9 @@
#EQEMU_MAP_DIR
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
cmake_policy(SET CMP0074 NEW)
IF(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
ENDIF()
#FindMySQL is located here so lets make it so CMake can find it
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/" ${CMAKE_MODULE_PATH})