|
|
@@ -85,6 +85,9 @@ add_library(${TARGET} STATIC
|
|
|
unicode.h
|
|
|
)
|
|
|
|
|
|
+target_include_directories(${TARGET} PUBLIC . ../vendor)
|
|
|
+target_compile_features (${TARGET} PUBLIC cxx_std_17)
|
|
|
+
|
|
|
if (BUILD_SHARED_LIBS)
|
|
|
set_target_properties(${TARGET} PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
|
|
endif()
|
|
|
@@ -151,9 +154,7 @@ if (LLAMA_LLGUIDANCE)
|
|
|
set(LLAMA_COMMON_EXTRA_LIBS ${LLAMA_COMMON_EXTRA_LIBS} llguidance ${LLGUIDANCE_PLATFORM_LIBS})
|
|
|
endif ()
|
|
|
|
|
|
-target_include_directories(${TARGET} PUBLIC . ../vendor)
|
|
|
-target_compile_features (${TARGET} PUBLIC cxx_std_17)
|
|
|
-target_link_libraries (${TARGET} PRIVATE ${LLAMA_COMMON_EXTRA_LIBS} PUBLIC llama Threads::Threads)
|
|
|
+target_link_libraries(${TARGET} PRIVATE ${LLAMA_COMMON_EXTRA_LIBS} PUBLIC llama Threads::Threads)
|
|
|
|
|
|
|
|
|
#
|