From c08373a8a2c00d7ed713fd6f14b5e323039b4a30 Mon Sep 17 00:00:00 2001 From: Marcus Calhoun-Lopez Date: Tue, 27 Dec 2022 22:13:37 -0700 Subject: [PATCH] Ensure proper -D... when building nglib library E.g., ensure -DOPENGL when building libsrc/visualization/vssolution.cpp --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e9f4cca8..255280315 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -282,7 +282,7 @@ if (USE_GUI) target_include_directories(netgen_gui INTERFACE ${TK_INCLUDE_PATH}/../xlib) endif() - target_link_libraries(nggui PUBLIC nglib togl PRIVATE "$" ) + target_link_libraries(nggui PUBLIC nglib togl PRIVATE "$" "$" ) if(WIN32) target_compile_definitions(netgen_gui INTERFACE -DTOGL_WGL)