mirror of
https://github.com/Tessil/robin-map.git
synced 2026-01-17 20:21:18 +01:00
Remove compatibility with CMake < 3.3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
cmake_minimum_required(VERSION 3.3)
|
||||
|
||||
project(tsl-robin-map VERSION 1.2.1 LANGUAGES CXX)
|
||||
|
||||
@@ -33,8 +33,8 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
|
||||
set(IS_SUBPROJECT FALSE)
|
||||
endif()
|
||||
|
||||
# Installation (only compatible with CMake version >= 3.3)
|
||||
if(NOT IS_SUBPROJECT AND ${CMAKE_VERSION} VERSION_GREATER "3.2")
|
||||
# Installation
|
||||
if(NOT IS_SUBPROJECT)
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
||||
## Install include directory and potential natvis file
|
||||
|
||||
Reference in New Issue
Block a user