Skip to content

Commit 56c5b13

Browse files
committed
CMake: Move GNUInstallDirs after language stuff
1 parent d1adc7f commit 56c5b13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
cmake_minimum_required(VERSION 3.10)
33

44
include(CheckSymbolExists)
5-
include(GNUInstallDirs)
65

76
# set the project name
87
project(libgeek VERSION 1.0)
@@ -19,6 +18,8 @@ SET(CMAKE_CXX_FLAGS_DEBUG "${FLAGS_COMMON} -O0 -g -fsanitize=address -fsanitize-
1918
SET(CMAKE_C_FLAGS_RELEASE "${FLAGS_COMMON} -O3 -s")
2019
SET(CMAKE_CXX_FLAGS_RELEASE "${FLAGS_COMMON} -O3 -s")
2120

21+
include(GNUInstallDirs)
22+
2223
find_package(PkgConfig REQUIRED)
2324

2425
check_symbol_exists(memset_pattern4 "string.h" HAVE_MEMSET_PATTERN4)

0 commit comments

Comments
 (0)