Skip to content

Commit

Permalink
Windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Jan 24, 2025
1 parent 1f6b836 commit 6b644bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Libraries/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,13 @@ elseif(APPLE)
target_link_libraries(externals-multi PUBLIC ${externals_libs} ${GEM_LIBS_MULTI})
endif()

if(MSVC)
target_link_libraries(pd PRIVATE fftw3f)
target_link_libraries(pd-multi PRIVATE fftw3f)
else()
target_link_libraries(pd-src PRIVATE fftw3f)
target_link_libraries(pd-src-multi PRIVATE fftw3f)
endif()
target_include_directories(pd-src PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/fftw3/api)
target_include_directories(pd-src-multi PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/fftw3/api)

Expand Down

0 comments on commit 6b644bf

Please sign in to comment.