Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/macros.cmake8
-rw-r--r--build_files/cmake/platform/platform_unix.cmake14
2 files changed, 6 insertions, 16 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 813ac013cdf..5ae5ed7c29e 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -596,14 +596,6 @@ function(SETUP_LIBDIRS)
link_directories(${GMP_LIBPATH})
endif()
- if(WITH_GHOST_WAYLAND)
- link_directories(
- ${wayland-client_LIBRARY_DIRS}
- ${wayland-egl_LIBRARY_DIRS}
- ${xkbcommon_LIBRARY_DIRS}
- ${wayland-cursor_LIBRARY_DIRS})
- endif()
-
if(WIN32 AND NOT UNIX)
link_directories(${PTHREADS_LIBPATH})
endif()
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake
index 7791112c6ab..dec12bde89c 100644
--- a/build_files/cmake/platform/platform_unix.cmake
+++ b/build_files/cmake/platform/platform_unix.cmake
@@ -578,14 +578,12 @@ if(WITH_GHOST_WAYLAND)
set(WITH_GL_EGL ON)
- if(WITH_GHOST_WAYLAND)
- list(APPEND PLATFORM_LINKLIBS
- ${wayland-client_LIBRARIES}
- ${wayland-egl_LIBRARIES}
- ${xkbcommon_LIBRARIES}
- ${wayland-cursor_LIBRARIES}
- )
- endif()
+ list(APPEND PLATFORM_LINKLIBS
+ ${wayland-client_LINK_LIBRARIES}
+ ${wayland-egl_LINK_LIBRARIES}
+ ${xkbcommon_LINK_LIBRARIES}
+ ${wayland-cursor_LINK_LIBRARIES}
+ )
endif()
if(WITH_GHOST_X11)