remove uneccesary build and rename shared lib

This commit is contained in:
Zack Zhiyuan Li 2024-11-03 21:29:09 +00:00
parent f0d1c4fa1c
commit 9e67ef75b4
3 changed files with 7 additions and 7 deletions

View file

@ -190,12 +190,12 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/llama.pc"
add_subdirectory(common)
if (LLAMA_BUILD_TESTS AND NOT CMAKE_JS_VERSION)
include(CTest)
add_subdirectory(tests)
endif ()
# if (LLAMA_BUILD_TESTS AND NOT CMAKE_JS_VERSION)
# include(CTest)
# add_subdirectory(tests)
# endif ()
if (LLAMA_BUILD_EXAMPLES)
add_subdirectory(examples)
add_subdirectory(pocs)
# add_subdirectory(pocs)
endif()

View file

@ -45,7 +45,7 @@ if(BUILD_SHARED_LIBS)
set_target_properties(${OMNI_AUDIO_LIB}_shared PROPERTIES
PUBLIC_HEADER omni.h
POSITION_INDEPENDENT_CODE ON
OUTPUT_NAME "${OMNI_AUDIO_LIB}"
OUTPUT_NAME "${OMNI_AUDIO_LIB}_shared"
)
install(TARGETS ${OMNI_AUDIO_LIB}_shared
LIBRARY

View file

@ -37,7 +37,7 @@ if(BUILD_SHARED_LIBS)
set_target_properties(${QWEN2_AUDIO_LIB}_shared PROPERTIES
PUBLIC_HEADER qwen2.h
POSITION_INDEPENDENT_CODE ON
OUTPUT_NAME "${QWEN2_AUDIO_LIB}"
OUTPUT_NAME "${QWEN2_AUDIO_LIB}_shared"
)
install(TARGETS ${QWEN2_AUDIO_LIB}_shared
LIBRARY