Skip to content

Commit 78614d0

Browse files
authored
Merge pull request #1763 from zhangha182/support_other_rel
Support relwithdebinfo and minsizerel build
2 parents 0c1727f + 4f1ada2 commit 78614d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/FindTBB.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,9 @@ foreach(COMPONENT ${TBB_FIND_COMPONENTS})
461461
IMPORTED_CONFIGURATIONS RELEASE)
462462
set_target_properties(TBB::${COMPONENT} PROPERTIES
463463
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX"
464-
IMPORTED_LOCATION_RELEASE "${Tbb_${COMPONENT}_LIBRARY_RELEASE}")
464+
IMPORTED_LOCATION_RELEASE "${Tbb_${COMPONENT}_LIBRARY_RELEASE}"
465+
MAP_IMPORTED_CONFIG_MINSIZEREL Release
466+
MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release)
465467
endif()
466468

467469
# Debug location

0 commit comments

Comments
 (0)