From db2d78ff21389799eb78399263952323bb1a8e2b Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Wed, 10 Feb 2021 17:28:56 +0100 Subject: Reduction on compiler warnings, mainly on MSVC. Fix of the new gap_fill_enable flag: Take it into account when comparing regions. --- cmake/modules/FindTBB.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/modules/FindTBB.cmake') diff --git a/cmake/modules/FindTBB.cmake b/cmake/modules/FindTBB.cmake index c6bdec985..a7eafa545 100644 --- a/cmake/modules/FindTBB.cmake +++ b/cmake/modules/FindTBB.cmake @@ -302,7 +302,7 @@ if(NOT TBB_FOUND) IMPORTED_LOCATION ${TBB_LIBRARIES}) if(TBB_LIBRARIES_RELEASE AND TBB_LIBRARIES_DEBUG) set_target_properties(TBB::tbb PROPERTIES - INTERFACE_COMPILE_DEFINITIONS "${TBB_DEFINITIONS};$<$,$>:${TBB_DEFINITIONS_DEBUG}>;$<$:${TBB_DEFINITIONS_RELEASE}>" + INTERFACE_COMPILE_DEFINITIONS "${TBB_DEFINITIONS};$<$,$>:${TBB_DEFINITIONS_RELEASE}>;$<$:${TBB_DEFINITIONS_DEBUG}>" IMPORTED_LOCATION_DEBUG ${TBB_LIBRARIES_DEBUG} IMPORTED_LOCATION_RELWITHDEBINFO ${TBB_LIBRARIES_RELEASE} IMPORTED_LOCATION_RELEASE ${TBB_LIBRARIES_RELEASE} -- cgit v1.2.3