diff --git a/CMakeLists.txt b/CMakeLists.txt index e400e8d8..99515005 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,9 @@ cmake_minimum_required(VERSION 2.6) project(libtransport) +if(${CMAKE_MAJOR_VERSION} GREATER 2) cmake_policy(SET CMP0037 OLD) +endif() message(STATUS "Variables to override default places where to find libraries:") message(STATUS "|- cppunit : -DCPPUNIT_INCLUDE_DIR, -DCPPUNIT_LIBRARY")