1
0
Fork 0
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:
Steffen Vogel 2019-02-09 20:16:41 +00:00
parent b46eee0199
commit 6f9f6ab479

View file

@ -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()