| --- ogre3d-2.0.0.r7490.07ad8061ec8d/RenderSystems/Direct3D11/CMakeLists.txt.orig 2015-02-17 17:14:01.858800000 +0300 |
| +++ ogre3d-2.0.0.r7490.07ad8061ec8d/RenderSystems/Direct3D11/CMakeLists.txt 2015-02-17 17:14:34.821600000 +0300 |
| @@ -31,6 +31,9 @@ |
| if(OGRE_PROFILING AND DirectX9_FOUND) |
| target_link_libraries(RenderSystem_Direct3D11 ${DirectX9_LIBRARY}) |
| endif() |
| +if (MINGW) |
| + target_link_libraries(RenderSystem_Direct3D11 psapi) |
| +endif () |
| |
| if(WINDOWS_STORE OR WINDOWS_PHONE) |
| set_target_properties(RenderSystem_Direct3D11 PROPERTIES VS_WINRT_COMPONENT "true") |