We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac5d68 commit d2b6d2cCopy full SHA for d2b6d2c
examples/main/CMakeLists.txt
@@ -2,4 +2,6 @@ set(TARGET main)
2
add_executable(${TARGET} main.cpp)
3
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
4
target_compile_features(${TARGET} PRIVATE cxx_std_11)
5
-add_dependencies(${TARGET} BUILD_INFO)
+if(TARGET BUILD_INFO)
6
+ add_dependencies(${TARGET} BUILD_INFO)
7
+endif()
0 commit comments