Skip to content

Commit 6ff5836

Browse files
committed
Remove INTERFACE_LINK_DIRECTORIES change
1 parent e936b6f commit 6ff5836

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

cmake/Macros.cmake

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -495,22 +495,6 @@ $<$<CONFIG:MinSizeRel>:${_RELEASE_INCLUDE_DIR}>")
495495
IMPORTED_LOCATION_RELEASE "${${TARGET_NAME}_LIBRARY_RELEASE}"
496496
IMPORTED_LOCATION_RELWITHDEBINFO "${${TARGET_NAME}_LIBRARY_RELEASE}"
497497
IMPORTED_LOCATION_MINSIZEREL "${${TARGET_NAME}_LIBRARY_RELEASE}")
498-
499-
if(WIN32)
500-
# Kit 110's oneTBB headers emit MSVC auto-link pragmas referencing the
501-
# versioned lib name (e.g. `#pragma comment(lib, "tbb12.lib")`), which the
502-
# linker resolves from /LIBPATH. Expose each prebuilt lib directory so those
503-
# implicitly-referenced libs can be found.
504-
set_property(
505-
TARGET ${TARGET_NAME}
506-
APPEND
507-
PROPERTY INTERFACE_LINK_DIRECTORIES
508-
"\
509-
$<$<CONFIG:Debug>:${_DEBUG_LIBRARY_DIR}>\
510-
$<$<CONFIG:Release>:${_RELEASE_LIBRARY_DIR}>\
511-
$<$<CONFIG:RelWithDebInfo>:${_RELEASE_LIBRARY_DIR}>\
512-
$<$<CONFIG:MinSizeRel>:${_RELEASE_LIBRARY_DIR}>")
513-
endif()
514498
endforeach()
515499
endfunction()
516500

0 commit comments

Comments
 (0)