From e54c954aedd517554ac04c10d9a33d62c831281f Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Fri, 3 Jan 2020 17:49:27 +0000 Subject: [PATCH] cmake: Don't install the *.in files during an in-tree build If an in-tree build was done on Linux, it would install both the configured kicad.appdata.xml file and the template kicad.appdata.xml.in file. This breaks packaging, and is not needed. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c9293e3e2..b89c3e0efb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -987,6 +987,9 @@ if( UNIX AND NOT APPLE ) install( DIRECTORY ${UNIX_APPDATA_FILES} DESTINATION share COMPONENT resources + FILES_MATCHING + PATTERN "*appdata.xml" + PATTERN "*.in" EXCLUDE ) endif()