mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Ensure proper -D... when building nglib library
E.g., ensure -DOPENGL when building libsrc/visualization/vssolution.cpp
This commit is contained in:
parent
26d12898a6
commit
c08373a8a2
@ -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 "$<BUILD_INTERFACE:netgen_python>" )
|
||||
target_link_libraries(nggui PUBLIC nglib togl PRIVATE "$<BUILD_INTERFACE:netgen_python>" "$<BUILD_INTERFACE:netgen_gui>" )
|
||||
|
||||
if(WIN32)
|
||||
target_compile_definitions(netgen_gui INTERFACE -DTOGL_WGL)
|
||||
|
Loading…
Reference in New Issue
Block a user