mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
[cmake] Set link interface of Tcl/Tk to PRIVATE
This commit is contained in:
parent
c1a407c4f6
commit
3adfebd63d
@ -35,7 +35,7 @@ if(USE_GUI)
|
||||
target_link_libraries( netgen ${TK_LIBRARY} ${TCL_LIBRARY})
|
||||
else(APPLE)
|
||||
# On other systems assume that the found libraries are compatible with python/tkinter
|
||||
target_link_libraries( gui PUBLIC ${TK_LIBRARY} ${TCL_LIBRARY})
|
||||
target_link_libraries( gui PRIVATE ${TK_LIBRARY} ${TCL_LIBRARY})
|
||||
endif(APPLE)
|
||||
|
||||
if(NOT WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user