Skip to content

Commit

Permalink
Remove compatibility with CMake < 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessil committed Mar 31, 2023
1 parent d37a410 commit 851a59e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 851a59e

Please sign in to comment.