mirror of
https://github.com/Tessil/robin-map.git
synced 2026-01-17 20:21:18 +01:00
Fix CMake warning by specifying a project language before including GNUInstallDirs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user