Skip to content
Snippets Groups Projects
Commit 4a5667f0 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

cmake: use keyword signature of target_link_libraries

parent 20eb8e7e
No related branches found
No related tags found
1 merge request!90cmake: use keyword signature of target_link_libraries
...@@ -16,6 +16,10 @@ foreach(_program ${programs}) ...@@ -16,6 +16,10 @@ foreach(_program ${programs})
add_executable(${_program} ${_program}.cc) add_executable(${_program} ${_program}.cc)
target_link_dune_default_libraries(${_program}) target_link_dune_default_libraries(${_program})
add_dune_pythonlibs_flags(${_program}) add_dune_pythonlibs_flags(${_program})
target_link_libraries(${_program} tinyxml2) if (${DUNE_COMMON_VERSION} VERSION_GREATER_EQUAL 2.8)
target_link_libraries(${_program} PUBLIC tinyxml2)
else()
target_link_libraries(${_program} tinyxml2)
endif()
# target_compile_options(${_program} PRIVATE "-fpermissive") # target_compile_options(${_program} PRIVATE "-fpermissive")
endforeach() endforeach()
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