We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a8c092 commit 6f23ad1Copy full SHA for 6f23ad1
tools/mtmd/CMakeLists.txt
@@ -2,6 +2,9 @@
2
3
# compile mtmd-audio separately to avoid long compile times
4
add_library(mtmd_audio STATIC mtmd-audio.cpp mtmd-audio.h)
5
+if (BUILD_SHARED_LIBS)
6
+ set_target_properties(mtmd_audio PROPERTIES POSITION_INDEPENDENT_CODE ON)
7
+endif()
8
target_link_libraries(mtmd_audio PRIVATE ggml ${CMAKE_THREAD_LIBS_INIT})
9
target_compile_features(mtmd_audio PRIVATE cxx_std_17)
10
target_include_directories(mtmd_audio PRIVATE .)
0 commit comments