From c4b0436a4b7ddf8a526774f0294224d2d4321750 Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Tue, 17 Apr 2018 13:12:08 +0200 Subject: [PATCH] Always link to libtinyxml2 In many cases it is not needed, but I am too lazy to write a proper test for it right now. --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 02ac2e59..9d6c4d10 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -10,5 +10,6 @@ foreach(_program ${programs}) add_executable(${_program} ${_program}.cc) target_link_dune_default_libraries(${_program}) add_dune_pythonlibs_flags(${_program}) + target_link_libraries(${_program} tinyxml2) # target_compile_options(${_program} PRIVATE "-fpermissive") endforeach() -- GitLab