mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
CMake: export targets
This commit is contained in:
parent
9790774b49
commit
d95999161d
@ -99,7 +99,8 @@ else(APPLE)
|
||||
set(ng_install_dir_bin bin)
|
||||
set(ng_install_dir_lib lib)
|
||||
endif(APPLE)
|
||||
set(ng_install_dir RUNTIME DESTINATION ${ng_install_dir_bin} COMPONENT netgen LIBRARY DESTINATION ${ng_install_dir_lib} COMPONENT netgen_devel ARCHIVE DESTINATION ${ng_install_dir_lib} COMPONENT netgen_devel)
|
||||
set(ng_install_dir EXPORT netgen-targets RUNTIME DESTINATION ${ng_install_dir_bin} COMPONENT netgen LIBRARY DESTINATION ${ng_install_dir_lib} COMPONENT netgen_devel ARCHIVE DESTINATION ${ng_install_dir_lib} COMPONENT netgen_devel)
|
||||
install(EXPORT netgen-targets DESTINATION share/cmake)
|
||||
|
||||
include (CheckIncludeFiles)
|
||||
check_include_files (dlfcn.h HAVE_DLFCN_H)
|
||||
|
Loading…
Reference in New Issue
Block a user