diff options
Diffstat (limited to 'graphics/py-h3/files/patch-CMakeLists.txt')
-rw-r--r-- | graphics/py-h3/files/patch-CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/py-h3/files/patch-CMakeLists.txt b/graphics/py-h3/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..10490c593a1a --- /dev/null +++ b/graphics/py-h3/files/patch-CMakeLists.txt @@ -0,0 +1,19 @@ +--- CMakeLists.txt.orig 2020-07-20 21:47:43 UTC ++++ CMakeLists.txt +@@ -6,16 +6,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON) + # Always make a release build + set(CMAKE_BUILD_TYPE Release) + +-# Avoid building tooling we won't need for release +-set(BUILD_BENCHMARKS OFF CACHE BOOL "" FORCE) +-set(BUILD_FILTERS OFF CACHE BOOL "" FORCE) +-set(BUILD_GENERATORS OFF CACHE BOOL "" FORCE) +-set(BUILD_TESTING OFF CACHE BOOL "" FORCE) +- +-# Build the core library as static +-set(BUILD_SHARED_LIBS OFF) +-add_subdirectory(src/h3lib) +- + # Build the rest (other than the core library dependency) as shared + set(BUILD_SHARED_LIBS ON) + add_subdirectory(src/h3) |