Fix CMake warning by specifying a project language before including GNUInstallDirs

This commit is contained in:
Tessil
2022-02-27 16:58:15 +00:00
parent a24e904455
commit 228883d21e

View File

@@ -1,9 +1,10 @@
cmake_minimum_required(VERSION 3.1)
project(tsl-robin-map VERSION 0.6.3 LANGUAGES CXX)
include(GNUInstallDirs)
project(tsl-robin-map VERSION 0.6.3)
add_library(robin_map INTERFACE)
# Use tsl::robin_map as target, more consistent with other libraries conventions (Boost, Qt, ...)
add_library(tsl::robin_map ALIAS robin_map)