mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20:34 +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})
|
target_link_libraries( netgen ${TK_LIBRARY} ${TCL_LIBRARY})
|
||||||
else(APPLE)
|
else(APPLE)
|
||||||
# On other systems assume that the found libraries are compatible with python/tkinter
|
# 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)
|
endif(APPLE)
|
||||||
|
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user