Skip to content

Commit d45e57a

Browse files
committed
Don't check and install bundled Boost headers if CXX_API not required
1 parent f47820b commit d45e57a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

export/CMakeLists.txt.export

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ install(CODE "
796796
")
797797

798798
# install bundled Boost headers if needed
799-
if (NOT LIBINT_HAS_SYSTEM_BOOST_PREPROCESSOR_VARIADICS)
799+
if (LIBINT2_REQUIRE_CXX_API AND NOT LIBINT_HAS_SYSTEM_BOOST_PREPROCESSOR_VARIADICS)
800800
install(
801801
DIRECTORY ${PROJECT_BINARY_DIR}/include/libint2/boost
802802
DESTINATION "${LIBINT2_INSTALL_INCLUDEDIR}/libint2"

0 commit comments

Comments
 (0)