From 29450a2af3dd1f3f52de82cfe689da22a6100e6d Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 12 Jan 2022 19:32:02 +0100 Subject: Build: remove usage of link_directories We are now always using absolute paths for libraries, as recommended by the CMake docs. Followup to D9177. --- source/creator/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/creator') diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 816d3a60fc3..7e657abd937 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -18,8 +18,6 @@ # All rights reserved. # ***** END GPL LICENSE BLOCK ***** -setup_libdirs() - blender_include_dirs( ../../intern/clog ../../intern/glew-mx @@ -73,10 +71,6 @@ endif() if(WITH_TBB) blender_include_dirs(${TBB_INCLUDE_DIRS}) - if(NOT APPLE) - # APPLE platform uses full paths for linking libraries. - link_directories(${LIBDIR}/tbb/lib) - endif() endif() -- cgit v1.2.3