Skip to content

Commit ce59ea6

Browse files
authored
Merge pull request #1279 from 3Descape/3Descape-patch-1
Fix windows compilation issues
2 parents 9cbcc9c + 3777806 commit ce59ea6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/FindTBB.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,8 @@ foreach(COMPONENT ${TBB_FIND_COMPONENTS})
412412
set_target_properties(TBB::${COMPONENT} PROPERTIES
413413
INTERFACE_COMPILE_OPTIONS "${PC_Tbb_CFLAGS_OTHER}"
414414
INTERFACE_COMPILE_DEFINITIONS "${Tbb_${COMPONENT}_DEFINITIONS}"
415-
INTERFACE_INCLUDE_DIRECTORIES "${Tbb_INCLUDE_DIR}")
415+
INTERFACE_INCLUDE_DIRECTORIES "${Tbb_INCLUDE_DIR}"
416+
INTERFACE_LINK_DIRECTORIES "${Tbb_LIBRARY_DIRS}")
416417

417418
# Standard location
418419
set_target_properties(TBB::${COMPONENT} PROPERTIES

0 commit comments

Comments
 (0)