diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-05 10:25:01 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-05 10:25:01 +0000 |
commit | 8ad34b409583b841d7521256237cc190bcbfaabd (patch) | |
tree | 6a8150e5f4c025a82dacfa07b9cec70899db9756 /math/kfr | |
parent | 247454a78eefe4a8e032fe699484dfb38d919728 (diff) | |
download | ports-8ad34b409583b841d7521256237cc190bcbfaabd.tar.gz ports-8ad34b409583b841d7521256237cc190bcbfaabd.zip |
math/kfr: Add patch
Diffstat (limited to 'math/kfr')
-rw-r--r-- | math/kfr/files/patch-cmake_add__kfr__library.cmake | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/kfr/files/patch-cmake_add__kfr__library.cmake b/math/kfr/files/patch-cmake_add__kfr__library.cmake new file mode 100644 index 000000000000..98564bb4e48e --- /dev/null +++ b/math/kfr/files/patch-cmake_add__kfr__library.cmake @@ -0,0 +1,20 @@ +--- cmake/add_kfr_library.cmake.orig 2024-04-05 10:04:36 UTC ++++ cmake/add_kfr_library.cmake +@@ -8,7 +8,7 @@ function (add_kfr_library) + if (KFR_ENABLE_MULTIARCH AND LIB_MULTIARCH) + add_library(${LIB_NAME} INTERFACE) + foreach (ARCH IN LISTS KFR_ARCHS) +- add_library(${LIB_NAME}_${ARCH} STATIC ${LIB_SOURCES}) ++ add_library(${LIB_NAME}_${ARCH} ${LIB_SOURCES}) + target_compile_definitions(${LIB_NAME}_${ARCH} PRIVATE CMT_MULTI=1) + foreach (ENABLED_ARCH IN LISTS KFR_ARCHS) + string(TOUPPER ${ENABLED_ARCH} ENABLED_ARCH_UPPER) +@@ -26,7 +26,7 @@ function (add_kfr_library) + + list(APPEND ${LIB_NAME}_TARGETS ${LIB_NAME}) + else () +- add_library(${LIB_NAME} STATIC ${LIB_SOURCES}) ++ add_library(${LIB_NAME} ${LIB_SOURCES}) + list(APPEND ${LIB_NAME}_LIBS ${LIB_NAME}) + list(APPEND ${LIB_NAME}_TARGETS ${LIB_NAME}) + target_set_arch(${LIB_NAME} PRIVATE ${KFR_ARCH}) |