1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 19:54:57 +08:00

Added a policy to suppress a warning in Windows.

This commit is contained in:
William Woodall 2011-07-04 11:23:24 -05:00
parent a726a78c55
commit 30df56e4a0

View File

@ -1,6 +1,10 @@
## Project Setup ## Project Setup
cmake_minimum_required(VERSION 2.4.6) cmake_minimum_required(VERSION 2.4.6)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
project(Serial) project(Serial)
## Configurations ## Configurations
@ -113,4 +117,4 @@ IF(NOT SERIAL_DONT_CONFIGURE_INSTALL)
TARGET uninstall TARGET uninstall
) )
ENDIF(UNIX) ENDIF(UNIX)
ENDIF(NOT SERIAL_DONT_CONFIGURE_INSTALL) ENDIF(NOT SERIAL_DONT_CONFIGURE_INSTALL)