Skip to content
Snippets Groups Projects
Commit 2e0519f3 authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[+] Before connecting libdap-server-core submodule, a check was added to...

[+] Before connecting libdap-server-core submodule, a check was added to determine whether this submodule needs to be connected.
parent a6039fa7
No related branches found
No related tags found
1 merge request!26Support 3689
......@@ -22,9 +22,15 @@ if(NOT (${SUBMODULES_NO_BUILD} MATCHES ON))
"-fpic"
)
endif()
if (NOT (TARGET dap-server-core))
add_subdirectory(libdap-server-core)
target_compile_options(
dap_server_core PRIVATE
"-fpic"
)
endif()
endif()
add_subdirectory(libdap-server-core)
file(GLOB SERVER_CORE_PYTHON_SRCS src/*.c)
......@@ -38,10 +44,6 @@ add_library(${PROJECT_NAME} STATIC ${SERVER_CORE_PYTHON_SRCS} ${SERVER_CORE_PYTH
target_link_libraries(${PROJECT_NAME})
target_compile_options(
dap_server_core PRIVATE
"-fpic"
)
target_link_libraries(${PROJECT_NAME} dap_core dap_crypto dap_server_core)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment