mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Prevent installation of cmake related files when building in source
These files are part of the build system, they should not show up in the installation prefix
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
|
||||
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_DATADIR}/gnucash
|
||||
PATTERN Makefile.* EXCLUDE
|
||||
PATTERN CMakeLists.txt EXCLUDE
|
||||
PATTERN hicolor EXCLUDE
|
||||
PATTERN Makefile.* EXCLUDE
|
||||
PATTERN CMake* EXCLUDE
|
||||
PATTERN CTest* EXCLUDE
|
||||
PATTERN cmake* EXCLUDE
|
||||
PATTERN hicolor EXCLUDE
|
||||
)
|
||||
FILE(COPY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
DESTINATION ${DATADIR_BUILD}/gnucash
|
||||
PATTERN Makefile.* EXCLUDE
|
||||
PATTERN CMakeLists.txt EXCLUDE
|
||||
PATTERN CMake* EXCLUDE
|
||||
PATTERN CTest* EXCLUDE
|
||||
PATTERN cmake* EXCLUDE
|
||||
PATTERN hicolor EXCLUDE
|
||||
)
|
||||
INSTALL(
|
||||
|
||||
Reference in New Issue
Block a user