aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarat Dukhan <maratek@gmail.com>2020-04-01 17:36:42 -0700
committerMarat Dukhan <maratek@gmail.com>2020-04-01 17:36:42 -0700
commit23bc8d1e42d73e5df79bba61048b8da9bf14c194 (patch)
treea63b4fcb6c2a8ad4d5b9015229ac4fa1d3d8cbdb
parentfc793bc6d7eab64756df79971556594bf4ab145b (diff)
downloadpthreadpool-23bc8d1e42d73e5df79bba61048b8da9bf14c194.tar.gz
Fix CMake warning on INCLUDE(GNUInstallDirs)
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3282f8d..6043fe4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,5 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR)
-INCLUDE(GNUInstallDirs)
-
# ---[ Project
PROJECT(pthreadpool C CXX)
@@ -20,6 +18,8 @@ ELSE()
ENDIF()
# ---[ CMake options
+INCLUDE(GNUInstallDirs)
+
IF(PTHREADPOOL_BUILD_TESTS)
ENABLE_TESTING()
ENDIF()