ports/devel/aws-c-commons/files/patch-CMakeLists.txt
Danilo Egea Gondolfo 32915ab183 - New ports (all dependencies for the new releases of devel/aws-sdk-cpp)
devel/aws-c-commons:

Core c99 package for AWS SDK for C. Includes cross-platform primitives,
configuration, data structures, and error handling.

devel/aws-checksums:

Cross-Platform HW accelerated CRC32c and CRC32 with fallback to
efficient SW implementations.

devel/aws-c-event-stream:

C99 implementation of the vnd.amazon.event-stream content-type.
2018-12-15 15:11:19 +00:00

11 lines
315 B
Text

--- CMakeLists.txt.orig 2018-12-05 21:54:26 UTC
+++ CMakeLists.txt
@@ -182,7 +182,7 @@ list(APPEND EXPORT_MODULES
install(FILES ${EXPORT_MODULES} DESTINATION "lib/cmake/")
-if (NOT CMAKE_CROSSCOMPILING)
+if (NOT CMAKE_CROSSCOMPILING AND BUILD_TESTING)
include(CTest)
add_subdirectory(tests)
endif()