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

fixed CXX_FLAGS etc. not properly set after last commit

parent d061bd4d
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,9 @@ FUNCTION(add_dependency dependency_project_name required_version)
include_directories(SYSTEM ${${dependency_project_name}_INCLUDE_DIRS} ${${dependency_project_name}_INCLUDE_DIR})
link_directories(${${dependency_project_name}_LIBRARY_DIRS})
link_directories(${${dependency_project_name}_LIBRARY_DIR})
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${${dependency_project_name}_CXX_FLAGS}")
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)
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