diff options
Diffstat (limited to 'tdtl')
| -rw-r--r-- | tdtl/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tdtl/CMakeLists.txt b/tdtl/CMakeLists.txt index b0f83cd98..8b139ddc6 100644 --- a/tdtl/CMakeLists.txt +++ b/tdtl/CMakeLists.txt @@ -1,4 +1,6 @@ -cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) +if ((CMAKE_MAJOR_VERSION LESS 3) OR (CMAKE_VERSION VERSION_LESS "3.0.2")) + message(FATAL_ERROR "CMake >= 3.0.2 is required") +endif() #SOURCE SETS set(TDTL_SOURCE |
