diff options
author | Marat Dukhan <maratek@gmail.com> | 2020-04-01 17:36:42 -0700 |
---|---|---|
committer | Marat Dukhan <maratek@gmail.com> | 2020-04-01 17:36:42 -0700 |
commit | 23bc8d1e42d73e5df79bba61048b8da9bf14c194 (patch) | |
tree | a63b4fcb6c2a8ad4d5b9015229ac4fa1d3d8cbdb | |
parent | fc793bc6d7eab64756df79971556594bf4ab145b (diff) | |
download | pthreadpool-23bc8d1e42d73e5df79bba61048b8da9bf14c194.tar.gz |
Fix CMake warning on INCLUDE(GNUInstallDirs)
-rw-r--r-- | CMakeLists.txt | 4 |
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() |