[Bf-blender-cvs] [4cf87407900] soc-2019-openxr: Fix compile error on Linux

Julian Eisel noreply at git.blender.org
Sat Aug 17 23:59:53 CEST 2019


Commit: 4cf87407900999b109fa035a6272fcb633776f90
Author: Julian Eisel
Date:   Sat Aug 17 23:59:39 2019 +0200
Branches: soc-2019-openxr
https://developer.blender.org/rB4cf87407900999b109fa035a6272fcb633776f90

Fix compile error on Linux

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

M	intern/ghost/CMakeLists.txt

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

diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt
index 6a328a3fb76..5f7d9232782 100644
--- a/intern/ghost/CMakeLists.txt
+++ b/intern/ghost/CMakeLists.txt
@@ -365,9 +365,11 @@ if(WITH_OPENXR)
   list(APPEND INC_SYS
     ${OPENXR_SDK_INCLUDE_DIR}
   )
-  list(APPEND LIB
-    shlwapi
-  )
+  if(WIN32)
+    list(APPEND LIB
+      shlwapi
+    )
+  endif()
 
   include(xr_platform_defines)



More information about the Bf-blender-cvs mailing list