cmake : add missing dependencies on BUILD_INFO
This commit is contained in:
parent
fc94d4b684
commit
6288f9b91d
2 changed files with 2 additions and 0 deletions
|
@ -22,3 +22,4 @@ endif()
|
||||||
target_include_directories(${TARGET} PUBLIC .)
|
target_include_directories(${TARGET} PUBLIC .)
|
||||||
target_compile_features(${TARGET} PUBLIC cxx_std_11)
|
target_compile_features(${TARGET} PUBLIC cxx_std_11)
|
||||||
target_link_libraries(${TARGET} PRIVATE llama)
|
target_link_libraries(${TARGET} PRIVATE llama)
|
||||||
|
add_dependencies(${TARGET} BUILD_INFO)
|
||||||
|
|
|
@ -4,3 +4,4 @@ install(TARGETS ${TARGET} RUNTIME)
|
||||||
target_link_libraries(${TARGET} PRIVATE llama ${CMAKE_THREAD_LIBS_INIT})
|
target_link_libraries(${TARGET} PRIVATE llama ${CMAKE_THREAD_LIBS_INIT})
|
||||||
target_include_directories(${TARGET} PRIVATE ../../common)
|
target_include_directories(${TARGET} PRIVATE ../../common)
|
||||||
target_compile_features(${TARGET} PRIVATE cxx_std_11)
|
target_compile_features(${TARGET} PRIVATE cxx_std_11)
|
||||||
|
add_dependencies(${TARGET} BUILD_INFO)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue