1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Fix build after bsd.cmake.mk's r1.13.

Remove the part of files/patch-plugins__zynaddsubfx__CMakeLists.txt
which actually removed the call which linked to pthread -- it is now
needed since we do not rely on it being passed via LDFLAGS anymore.

Approved by:	avilla (mentor, implicit)
Feature safe:	yes
This commit is contained in:
Raphael Kubo da Costa 2011-11-12 14:41:55 +00:00
parent 05685771fd
commit ba53f6651f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285630

View File

@ -23,7 +23,7 @@
ADD_LIBRARY(ZynAddSubFxCore SHARED LocalZynAddSubFx.cpp ${MXML_SRC})
-TARGET_LINK_LIBRARIES(ZynAddSubFxCore ${ZASF_CORE_LIBS} ${FFTW3F_LIBRARIES} -lz -lpthread)
+TARGET_LINK_LIBRARIES(ZynAddSubFxCore ${ZASF_CORE_LIBS} ${FFTW3F_LIBRARIES} -lz -L${FFTW3F_LIBRARY_DIRS})
+TARGET_LINK_LIBRARIES(ZynAddSubFxCore ${ZASF_CORE_LIBS} ${FFTW3F_LIBRARIES} -lz -lpthread -L${FFTW3F_LIBRARY_DIRS})
IF(LMMS_BUILD_WIN32)
TARGET_LINK_LIBRARIES(ZynAddSubFxCore -lwsock32)
INSTALL(TARGETS ZynAddSubFxCore DESTINATION ${PLUGIN_DIR})