common : reorganize includes to prioritize vendored deps (#18222)
This commit is contained in:
parent
ddcb75dd8a
commit
9496bbb808
|
|
@ -85,6 +85,9 @@ add_library(${TARGET} STATIC
|
||||||
unicode.h
|
unicode.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_include_directories(${TARGET} PUBLIC . ../vendor)
|
||||||
|
target_compile_features (${TARGET} PUBLIC cxx_std_17)
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
if (BUILD_SHARED_LIBS)
|
||||||
set_target_properties(${TARGET} PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
set_target_properties(${TARGET} PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
@ -151,9 +154,7 @@ if (LLAMA_LLGUIDANCE)
|
||||||
set(LLAMA_COMMON_EXTRA_LIBS ${LLAMA_COMMON_EXTRA_LIBS} llguidance ${LLGUIDANCE_PLATFORM_LIBS})
|
set(LLAMA_COMMON_EXTRA_LIBS ${LLAMA_COMMON_EXTRA_LIBS} llguidance ${LLGUIDANCE_PLATFORM_LIBS})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
target_include_directories(${TARGET} PUBLIC . ../vendor)
|
target_link_libraries(${TARGET} PRIVATE ${LLAMA_COMMON_EXTRA_LIBS} PUBLIC llama Threads::Threads)
|
||||||
target_compile_features (${TARGET} PUBLIC cxx_std_17)
|
|
||||||
target_link_libraries (${TARGET} PRIVATE ${LLAMA_COMMON_EXTRA_LIBS} PUBLIC llama Threads::Threads)
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue