mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 10:33:27 +08:00
Skip perl file installation without TAP_CHECKS
Don't install the TAP-related perl files when TAP checks has been disabled. Installing this files unconditionally creates problem when building packages as these files should not be part of the package.
This commit is contained in:
parent
9ea77fb97f
commit
be44b1d87f
@ -1,6 +1,6 @@
|
||||
set(PERL_FILES AccessNode.pm DataNode.pm TimescaleNode.pm)
|
||||
|
||||
# Check if PostgreSQL was compiled with --enable-tap-tests
|
||||
if(EXISTS "${PG_PKGLIBDIR}/pgxs/src/test/perl")
|
||||
if(TAP_CHECKS AND EXISTS "${PG_PKGLIBDIR}/pgxs/src/test/perl")
|
||||
install(FILES ${PERL_FILES} DESTINATION "${PG_PKGLIBDIR}/pgxs/src/test/perl")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user