From aaeb273fb110e861585ee8af8455264fb0b757db Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 11 Sep 2016 19:45:19 -0500 Subject: [PATCH] Add fake install target, since we are installing nothing --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6890b1b..c6c5d79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,9 @@ enable_language (C) if (WIN32) include_directories (${CMAKE_SOURCE_DIR}/include) install (FILES include/dirent.h DESTINATION include) +else() + cmake_policy(SET CMP0037 OLD) # Supress warnings about fake install + add_custom_target(install) # Fake install target endif() # Build example programs