Commit 3f2d248f authored by jehan's avatar jehan

make sure generated code is generated only once in case of // build with both...

make sure generated code is generated only once in case of // build with both shared and static mode
parent b4053f82
......@@ -234,3 +234,7 @@ if(ENABLE_SHARED)
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
endif()
#to avoid // build to generate code twice in // leading compilation issues. Might probably be done in a better way
if (ENABLE_SHARED AND ENABLE_STATIC)
add_dependencies(bellesip-static bellesip)
endif()
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