Skip to content
Snippets Groups Projects
Unverified Commit bc37f019 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #102 from jcarpent/devel

Improve support of CMake >= 3.0.0
parents 2f0a5a3c 2ab0ac75
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,12 @@ SET(CXX_DISABLE_WERROR True)
SET(CMAKE_VERBOSE_MAKEFILE True)
INCLUDE(cmake/base.cmake)
PROJECT(${PROJECT_NAME} CXX)
IF(CMAKE_VERSION VERSION_GREATER "3.0.0")
CMAKE_POLICY(SET CMP0048 NEW)
PROJECT(${PROJECT_NAME} VERSION ${PROJECT_VERSION_FULL} LANGUAGES CXX DESCRIPTION ${PROJECT_DESCRIPTION})
ELSE(CMAKE_VERSION VERSION_GREATER "3.0.0")
PROJECT(${PROJECT_NAME} CXX)
ENDIF(CMAKE_VERSION VERSION_GREATER "3.0.0")
INCLUDE(cmake/boost.cmake)
INCLUDE(cmake/python.cmake)
......
Subproject commit 4c2f917c1bed8c1c3f019d335b2ef45b353aeb85
Subproject commit efa25a9976b8a6fc9f51d26924d4238d0d4820b1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment