Skip to content

Commit 669fe81

Browse files
committed
rm leftover cmakelist code
1 parent 6489a9d commit 669fe81

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tools/mtmd/CMakeLists.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
# mtmd
22

3-
# compile mtmd-audio separately to avoid long compile times with miniaudio.h
4-
# TODO @ngxson : move miniaudio.h and stb_image.h to mtmd-helper.cpp, then compile the helper as a separate library
5-
add_library(mtmd_audio STATIC mtmd-audio.cpp mtmd-audio.h)
6-
if (BUILD_SHARED_LIBS)
7-
set_target_properties(mtmd_audio PROPERTIES POSITION_INDEPENDENT_CODE ON)
8-
endif()
9-
target_link_libraries(mtmd_audio PRIVATE ggml ${CMAKE_THREAD_LIBS_INIT})
10-
target_compile_features(mtmd_audio PRIVATE cxx_std_17)
11-
target_include_directories(mtmd_audio PRIVATE .)
12-
133
add_library(mtmd OBJECT
144
mtmd.cpp
155
mtmd-audio.cpp
@@ -24,7 +14,7 @@ target_include_directories(mtmd PUBLIC .)
2414
target_include_directories(mtmd PRIVATE ../..)
2515
target_compile_features(mtmd PRIVATE cxx_std_17)
2616

27-
# Helper library for mtmd, to avoid long compile times with miniaudio.h and stb_image.h
17+
# compile the helper separately, to avoid long compile times with miniaudio.h and stb_image.h
2818

2919
add_library(mtmd_helper OBJECT
3020
mtmd-helper.cpp

0 commit comments

Comments
 (0)