Skip to content

Commit

Permalink
Remove CMake search for DirectX9 (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Jan 1, 2022
1 parent 2935db6 commit 7836808
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 79 deletions.
2 changes: 0 additions & 2 deletions CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ if (OGRE_CONFIG_THREAD_PROVIDER STREQUAL "tbb")
endif ()

set(STATIC_INST_FILES
Packages/FindDirectX.cmake
Packages/FindFreeImage.cmake
Packages/FindFreetype.cmake
Packages/FindOpenGLES.cmake
Packages/FindOpenGLES2.cmake
Packages/FindZLIB.cmake
Packages/FindZZip.cmake
Expand Down
5 changes: 0 additions & 5 deletions CMake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ endif()

# Find DirectX
if(WIN32)
find_package(DirectX)
macro_log_feature(DirectX9_FOUND "DirectX9" "Support for the DirectX render system" "http://msdn.microsoft.com/en-us/directx/" FALSE "" "")

find_package(DirectX11)
macro_log_feature(DirectX11_FOUND "DirectX11" "Support for the DirectX11 render system" "http://msdn.microsoft.com/en-us/directx/" FALSE "" "")

Expand Down Expand Up @@ -258,7 +255,6 @@ include_directories(
${OPENGLES2_INCLUDE_DIRS}
${OPENGLES3_INCLUDE_DIRS}
${X11_INCLUDE_DIR}
${DirectX_INCLUDE_DIRS}
${CppUnit_INCLUDE_DIRS}
${GLSL_Optimizer_INCLUDE_DIRS}
${HLSL2GLSL_INCLUDE_DIRS}
Expand All @@ -269,6 +265,5 @@ link_directories(
${OPENGLES2_LIBRARY_DIRS}
${OPENGLES3_LIBRARY_DIRS}
${X11_LIBRARY_DIRS}
${DirectX_LIBRARY_DIRS}
${CppUnit_LIBRARY_DIRS}
)
72 changes: 0 additions & 72 deletions CMake/Packages/FindDirectX.cmake

This file was deleted.

0 comments on commit 7836808

Please sign in to comment.