Skip to content

Commit e6b5111

Browse files
committed
Build - make sure test .exe file has the kissfft dll
1 parent 82afe27 commit e6b5111

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/api-tests/CMakeLists.txt

+8
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,12 @@ if(TEST_SOURCES)
4747

4848
SOURCE_GROUP(tests REGULAR_EXPRESSION ".*.test.(cpp|h)+")
4949
SOURCE_GROUP(tests FILES ${TEST_SOURCES})
50+
51+
if(WIN32)
52+
add_custom_command(TARGET ${APP_NAME} POST_BUILD
53+
COMMAND ${CMAKE_COMMAND} -E copy_if_different
54+
"${CMAKE_SOURCE_DIR}/build/api/vendor/kissfft-131.1.0/Release/kissfft-float.dll"
55+
$<TARGET_FILE_DIR:${APP_NAME}>)
56+
57+
endif()
5058
endif()

0 commit comments

Comments
 (0)