Skip to content

Commit 8fd7f97

Browse files
committed
BUILD - fix kissfft dll path
1 parent c0b60a9 commit 8fd7f97

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/api/CMakeLists.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ set(KISSNET_VERSION "kissnet-master-34b751b" CACHE INTERNAL "Version string for
1515
set(GHC_FILESYSTEM_VERSION "ghc_filesystem" CACHE INTERNAL "Version string for ghc_filesystem")
1616
set(TLSF_VERSION "TLSF-2.4.6" CACHE INTERNAL "Version string for TLSF")
1717

18-
# Define the KissFFT DLL path using the defined version.
19-
set(API_VENDORED_KISSFFT_DLL "${VENDOR_DIR}/${KISSFFT_VERSION}/kissfft.dll" PARENT_SCOPE)
18+
if(WIN32)
19+
# Define the KissFFT dll path for Windows
20+
set(API_VENDORED_KISSFFT_DLL "${CMAKE_SOURCE_DIR}/build/${KISSFFT_VERSION}/Release/kissfft-float.dll" PARENT_SCOPE)
21+
endif()
2022

2123
# Specify unique binary directories for each vendored project.
2224
add_subdirectory("${VENDOR_DIR}/${PLATFORMFOLDERS_VERSION}" "${CMAKE_BINARY_DIR}/${PLATFORMFOLDERS_VERSION}")

0 commit comments

Comments
 (0)