[Bf-blender-cvs] [477631d9ec2] master: cmake: fix linking with WITH_X11_XF86VMODE and bfd

Aurelien Jarno noreply at git.blender.org
Mon Dec 6 16:46:40 CET 2021


Commit: 477631d9ec2d66453f27949c0a3c0b9a2de20fe1
Author: Aurelien Jarno
Date:   Mon Dec 6 16:45:31 2021 +0100
Branches: master
https://developer.blender.org/rB477631d9ec2d66453f27949c0a3c0b9a2de20fe1

cmake: fix linking with WITH_X11_XF86VMODE and bfd

Fix typos in the variables of the Xxf86vm libray to fix link failure
with bfd. These variables are defined in platform_unix.cmake.

Reviewed By: zeddb

Differential Revision: https://developer.blender.org/D12911

===================================================================

M	intern/ghost/CMakeLists.txt

===================================================================

diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt
index 41642311185..84f156949aa 100644
--- a/intern/ghost/CMakeLists.txt
+++ b/intern/ghost/CMakeLists.txt
@@ -245,10 +245,10 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND)
     if(WITH_X11_XF86VMODE)
       add_definitions(-DWITH_X11_XF86VMODE)
       list(APPEND INC_SYS
-        ${X11_xf86vmode_INCLUDE_PATH}
+        ${X11_Xxf86vmode_INCLUDE_PATH}
       )
       list(APPEND LIB
-        ${X11_Xf86vmode_LIB}
+        ${X11_Xxf86vmode_LIB}
       )
     endif()



More information about the Bf-blender-cvs mailing list