aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/TargetLinkDirectories.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/TargetLinkDirectories.cmake')
-rw-r--r--cmake/TargetLinkDirectories.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/cmake/TargetLinkDirectories.cmake b/cmake/TargetLinkDirectories.cmake
deleted file mode 100644
index 11b05670..00000000
--- a/cmake/TargetLinkDirectories.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
-# Compatibility replacement of target_link_directories() for older cmake
-
-if(${CMAKE_VERSION} VERSION_LESS "3.13.0")
- function(target_link_directories TARGET SCOPE)
- get_target_property(INTERFACE_LINK_LIBRARIES ${TARGET} INTERFACE_LINK_LIBRARIES)
- foreach(DIRECTORY ${ARGN})
- list(INSERT INTERFACE_LINK_LIBRARIES 0 "-L${DIRECTORY}")
- endforeach()
- set_target_properties(${TARGET} PROPERTIES
- INTERFACE_LINK_LIBRARIES "${INTERFACE_LINK_LIBRARIES}")
- endfunction()
-endif()