mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 21:30:35 +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_bin bin)
|
||||||
set(ng_install_dir_lib lib)
|
set(ng_install_dir_lib lib)
|
||||||
endif(APPLE)
|
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)
|
include (CheckIncludeFiles)
|
||||||
check_include_files (dlfcn.h HAVE_DLFCN_H)
|
check_include_files (dlfcn.h HAVE_DLFCN_H)
|
||||||
|
Loading…
Reference in New Issue
Block a user