mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 02:23:49 +08:00
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.
7 lines
270 B
CMake
7 lines
270 B
CMake
set(PERL_FILES AccessNode.pm DataNode.pm TimescaleNode.pm)
|
|
|
|
# Check if PostgreSQL was compiled with --enable-tap-tests
|
|
if(TAP_CHECKS AND EXISTS "${PG_PKGLIBDIR}/pgxs/src/test/perl")
|
|
install(FILES ${PERL_FILES} DESTINATION "${PG_PKGLIBDIR}/pgxs/src/test/perl")
|
|
endif()
|