mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-14 10:08:32 +05:00
Don't install tix and tk_dnd on Mac if appropriate variables are not set
This commit is contained in:
parent
5e45ae7db4
commit
24324c1ab9
@ -290,8 +290,12 @@ if(INSTALL_DEPENDENCIES)
|
|||||||
install( FILES "${Boost_LIBRARIES}" DESTINATION ${ng_install_dir_lib} COMPONENT netgen )
|
install( FILES "${Boost_LIBRARIES}" DESTINATION ${ng_install_dir_lib} COMPONENT netgen )
|
||||||
get_filename_component(MY_LIB_DIR ${TK_LIBRARY} DIRECTORY)
|
get_filename_component(MY_LIB_DIR ${TK_LIBRARY} DIRECTORY)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
if(TIX_LIBRARY)
|
||||||
install( DIRECTORY "${TIX_LIBRARY}" DESTINATION ${ng_install_dir_lib} COMPONENT netgen )
|
install( DIRECTORY "${TIX_LIBRARY}" DESTINATION ${ng_install_dir_lib} COMPONENT netgen )
|
||||||
|
endif(TIX_LIBRARY)
|
||||||
|
if(TK_DND_LIBRARY)
|
||||||
install( DIRECTORY "${TK_DND_LIBRARY}" DESTINATION ${ng_install_dir_lib} COMPONENT netgen )
|
install( DIRECTORY "${TK_DND_LIBRARY}" DESTINATION ${ng_install_dir_lib} COMPONENT netgen )
|
||||||
|
endif(TK_DND_LIBRARY)
|
||||||
endif(APPLE)
|
endif(APPLE)
|
||||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/fixup.cmake "\
|
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/fixup.cmake "\
|
||||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/netgen_fixup.cmake)
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/netgen_fixup.cmake)
|
||||||
|
Loading…
Reference in New Issue
Block a user