Commit de24b990 authored by Dave Moxey's avatar Dave Moxey
Browse files

Fix for CMake 3.0.2 warning due to debug/optimized flag

parent a342adfc
......@@ -22,7 +22,13 @@ ENABLE_TESTING()
# Use the CMake 2.4 policy for CMake 2.6
IF(COMMAND cmake_policy)
cmake_policy(SET CMP0003 OLD)
CMAKE_POLICY(SET CMP0003 OLD)
# Silence warnings when using generator expressions in
# TARGET_LINK_LIBRARIES.
IF(POLICY CMP0022)
CMAKE_POLICY(SET CMP0022 NEW)
ENDIF()
ENDIF(COMMAND cmake_policy)
# Find the modules included with Nektar
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment