2
0
Эх сурвалжийг харах

Avoid hardcoding the D3D9 library dependencies.
This change should actually be part of this commit 971fa90c1091668e1daca2c9d77f21596b338a5f.

Yao Wei Tjong 姚伟忠 11 жил өмнө
parent
commit
6b35f89a07

+ 1 - 1
Source/CMake/Modules/Urho3D-CMake-common.cmake

@@ -709,7 +709,7 @@ macro (define_dependency_libs TARGET)
                 list (APPEND ABSOLUTE_PATH_LIBS ${DIRECT3D_LIBRARIES})
             else ()
                 # If SDK not found, assume the libraries are found from default directories
-                list (APPEND LINK_LIBS_ONLY d3d9 d3dcompiler)
+                list (APPEND LINK_LIBS_ONLY ${DIRECT3D_LIBRARIES})
             endif ()
         endif ()