Skip to content

Commit 228883d

Browse files
committed
Fix CMake warning by specifying a project language before including GNUInstallDirs
1 parent a24e904 commit 228883d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
cmake_minimum_required(VERSION 3.1)
2-
include(GNUInstallDirs)
32

3+
project(tsl-robin-map VERSION 0.6.3 LANGUAGES CXX)
4+
5+
include(GNUInstallDirs)
46

5-
project(tsl-robin-map VERSION 0.6.3)
67

78
add_library(robin_map INTERFACE)
89
# Use tsl::robin_map as target, more consistent with other libraries conventions (Boost, Qt, ...)

0 commit comments

Comments
 (0)