mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 13:30:34 +05:00
cmake - private linking of zlib
This commit is contained in:
parent
fa05864df4
commit
0e45a07c6a
@ -248,7 +248,7 @@ target_include_directories(nglib PRIVATE ${ZLIB_INCLUDE_DIRS})
|
|||||||
if(USE_GUI)
|
if(USE_GUI)
|
||||||
target_include_directories(nggui PRIVATE ${ZLIB_INCLUDE_DIRS})
|
target_include_directories(nggui PRIVATE ${ZLIB_INCLUDE_DIRS})
|
||||||
endif(USE_GUI)
|
endif(USE_GUI)
|
||||||
target_link_libraries(nglib PUBLIC ${ZLIB_LIBRARIES})
|
target_link_libraries(nglib PRIVATE ${ZLIB_LIBRARIES})
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user