Skip to content

Commit 4f1ada2

Browse files
committed
Support relwithdebinfo and minsizerel build.
Signed-off-by: zhangha <hao.zhang@autodesk.com>
1 parent 1efbe09 commit 4f1ada2

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)