summaryrefslogtreecommitdiff
path: root/indra/cmake/Prebuilt.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
commit6d0bba9c03da0d8aca5e88fcb9289cb2f89f3467 (patch)
tree2da3081a07fe04507e907dc5a7b02512489061c6 /indra/cmake/Prebuilt.cmake
parent34b5c5e89066171a3b98c58edc1185559ebcc75e (diff)
Switch over to standard target_link_libraries (cmake requirements are high enough now).
Diffstat (limited to 'indra/cmake/Prebuilt.cmake')
-rw-r--r--indra/cmake/Prebuilt.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/cmake/Prebuilt.cmake b/indra/cmake/Prebuilt.cmake
index 603368304c..95117c539d 100644
--- a/indra/cmake/Prebuilt.cmake
+++ b/indra/cmake/Prebuilt.cmake
@@ -60,9 +60,7 @@ endmacro (use_prebuilt_binary _binary)
function( create_target name )
add_library( ${name} INTERFACE IMPORTED )
endfunction()
-function( set_target_libraries target )
- set_property( TARGET ${target} PROPERTY INTERFACE_LINK_LIBRARIES ${ARGN} )
-endfunction()
+
function( set_target_include_dirs target)
set_property( TARGET ${target} PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${ARGN} )
endfunction()