cmake : add missing dependencies on BUILD_INFO

This commit is contained in:
cebtenzzre 2023-10-31 00:44:40 -04:00
parent fc94d4b684
commit 6288f9b91d
2 changed files with 2 additions and 0 deletions

View file

@ -22,3 +22,4 @@ endif()
target_include_directories(${TARGET} PUBLIC .)
target_compile_features(${TARGET} PUBLIC cxx_std_11)
target_link_libraries(${TARGET} PRIVATE llama)
add_dependencies(${TARGET} BUILD_INFO)

View file

@ -4,3 +4,4 @@ install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE llama ${CMAKE_THREAD_LIBS_INIT})
target_include_directories(${TARGET} PRIVATE ../../common)
target_compile_features(${TARGET} PRIVATE cxx_std_11)
add_dependencies(${TARGET} BUILD_INFO)