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.
This commit is contained in:
parent
2f75dfb09c
commit
e54c954aed
|
@ -987,6 +987,9 @@ if( UNIX AND NOT APPLE )
|
||||||
install( DIRECTORY ${UNIX_APPDATA_FILES}
|
install( DIRECTORY ${UNIX_APPDATA_FILES}
|
||||||
DESTINATION share
|
DESTINATION share
|
||||||
COMPONENT resources
|
COMPONENT resources
|
||||||
|
FILES_MATCHING
|
||||||
|
PATTERN "*appdata.xml"
|
||||||
|
PATTERN "*.in" EXCLUDE
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue