File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -674,6 +674,12 @@ nbl_install_headers("${NABLA_HEADERS_TO_INSTALL}" "${NBL_ROOT_PATH}/include")
674
674
nbl_install_headers ("${NABLA_HEADERS_TO_INSTALL_SOURCE_REFACTOR} " "${NBL_ROOT_PATH} /source/Nabla" )
675
675
nbl_install_config_header (BuildConfigOptions.h )
676
676
677
+ macro (nbl_install_program _TRGT )
678
+ install (PROGRAMS $< TARGET_FILE:${_TRGT} > DESTINATION lib CONFIGURATIONS Release )
679
+ install (PROGRAMS $< TARGET_FILE:${_TRGT} > DESTINATION debug/lib CONFIGURATIONS Debug )
680
+ install (PROGRAMS $< TARGET_FILE:${_TRGT} > DESTINATION relwithdebinfo/lib CONFIGURATIONS RelWithDebInfo )
681
+ endmacro ()
682
+
677
683
macro (nbl_install_lib _TRGT )
678
684
install (TARGETS ${_TRGT} ARCHIVE DESTINATION lib CONFIGURATIONS Release )
679
685
install (TARGETS ${_TRGT} ARCHIVE DESTINATION debug/lib CONFIGURATIONS Debug )
@@ -718,8 +724,8 @@ nbl_install_lib(zlibstatic)
718
724
nbl_install_lib (simdjson )
719
725
nbl_install_lib (volk )
720
726
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" )
721
- nbl_install_lib (tbb )
722
- nbl_install_lib (tbbmalloc )
723
- nbl_install_lib (tbbmalloc_proxy )
727
+ nbl_install_program (tbb )
728
+ nbl_install_program (tbbmalloc )
729
+ nbl_install_program (tbbmalloc_proxy )
724
730
endif ()
725
731
You can’t perform that action at this time.
0 commit comments