opnsense-ports/sysutils/libdnf/files/patch-python_hawkey_CMakeLists.txt
Franco Fichtner 36a5a17e98 */*: sync with upstream
Taken from: HardenedBSD
2020-09-25 17:54:53 +02:00

9 lines
374 B
Text

--- python/hawkey/CMakeLists.txt.orig 2020-09-26 05:11:04 UTC
+++ python/hawkey/CMakeLists.txt
@@ -50,4 +50,6 @@ target_link_libraries(_hawkeymodule ${PYTHON_LIBRARY})
install(FILES __init__.py DESTINATION ${PYTHON_INSTALL_DIR}/hawkey)
install(TARGETS _hawkeymodule LIBRARY DESTINATION ${PYTHON_INSTALL_DIR}/hawkey)
+if (BUILD_TESTING)
add_subdirectory(tests)
+endif()