mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
add compatability with CMake 3.7
This commit is contained in:
parent
b46eee0199
commit
6f9f6ab479
1 changed files with 2 additions and 3 deletions
|
@ -22,8 +22,7 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
project(villas-node
|
||||
DESCRIPTION "VILLASnode"
|
||||
project(villas-node
|
||||
LANGUAGES C CXX
|
||||
)
|
||||
|
||||
|
@ -155,7 +154,7 @@ if(WITH_PLUGINS)
|
|||
add_subdirectory(plugins)
|
||||
endif()
|
||||
|
||||
if(WITH_DOC)
|
||||
if(WITH_DOC AND ${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.9.0")
|
||||
add_subdirectory(doc)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue