Skip to content
Snippets Groups Projects
Commit aff8c031 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

also set CXX_FLAGS from the dependency

parent c4f979b8
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ FUNCTION(add_dependency dependency_project_name required_version)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${${dependency_project_name}_CXX_FLAGS}" PARENT_SCOPE)
SET(${dependency_project_name}_LIBRARIES ${${dependency_project_name}_LIBRARIES} PARENT_SCOPE)
SET(${dependency_project_name}_LINK_FLAGS ${${dependency_project_name}_LINK_FLAGS} PARENT_SCOPE)
SET(${dependency_project_name}_CXX_FLAGS ${${dependency_project_name}_CXX_FLAGS} PARENT_SCOPE)
ENDFUNCTION(add_dependency)
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