Commit 006cf1b0 authored by François Grisez's avatar François Grisez

CMake: ensure that flexisip-version.h is generated before building the plugins

parent bc33f8c2
Pipeline #6288 passed with stages
in 19 minutes and 40 seconds
......@@ -34,6 +34,7 @@ set_property(TARGET external-auth PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(external-auth ${FLEXISIP_LIBS})
target_include_directories(external-auth PUBLIC ${FLEXISIP_INCLUDES})
target_compile_options(external-auth PRIVATE ${CPP_BUILD_FLAGS} ${CXX_BUILD_FLAGS})
add_dependencies(external-auth flexisip-git-version)
install(TARGETS external-auth
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/flexisip/plugins"
......
......@@ -48,6 +48,7 @@ set_property(TARGET jweauth PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(jweauth ${JWE_AUTH_LIBRARIES})
target_include_directories(jweauth PUBLIC ${JWE_AUTH_INCLUDES})
add_dependencies(jweauth flexisip-git-version)
install(TARGETS jweauth
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/flexisip/plugins"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment