Skip to content

Commit

Permalink
CMake: Move GNUInstallDirs after language stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFlibble committed Sep 16, 2020
1 parent d1adc7f commit 56c5b13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
cmake_minimum_required(VERSION 3.10)

include(CheckSymbolExists)
include(GNUInstallDirs)

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

include(GNUInstallDirs)

find_package(PkgConfig REQUIRED)

check_symbol_exists(memset_pattern4 "string.h" HAVE_MEMSET_PATTERN4)
Expand Down

0 comments on commit 56c5b13

Please sign in to comment.