diff --git a/Tools/CMake/finders/FindPCRE.cmake b/Tools/CMake/finders/FindPCRE.cmake deleted file mode 100644 index 9db8c09f0..000000000 --- a/Tools/CMake/finders/FindPCRE.cmake +++ /dev/null @@ -1,13 +0,0 @@ -if(TARGET pcre) - set(PCRE_FOUND TRUE) - set(PCRE_INCLUDE_DIRS $) - set(PCRE_LIBRARIES pcre) - - # Provide an alias for consistency with modern CMake - if(NOT TARGET PCRE::PCRE) - add_library(PCRE::PCRE ALIAS pcre) - endif() -else() - set(PCRE_FOUND FALSE) - message(FATAL_ERROR "PCRE was not added with add_subdirectory before calling find_package(PCRE).") -endif() \ No newline at end of file diff --git a/Tools/CMake/finders/FindSDL2.cmake b/Tools/CMake/finders/FindSDL2.cmake deleted file mode 100644 index 6a8d1b635..000000000 --- a/Tools/CMake/finders/FindSDL2.cmake +++ /dev/null @@ -1,13 +0,0 @@ -if(TARGET SDL2) - set(SDL2_FOUND TRUE) - set(SDL2_INCLUDE_DIRS $) - set(SDL2_LIBRARIES SDL2) - - # Provide a modern CMake alias - if(NOT TARGET SDL2::SDL2) - add_library(SDL2::SDL2 ALIAS SDL2) - endif() -else() - set(SDL2_FOUND FALSE) - message(FATAL_ERROR "SDL2 was not added with add_subdirectory before calling find_package(SDL2).") -endif() \ No newline at end of file diff --git a/Tools/CMake/finders/FindZlib.cmake b/Tools/CMake/finders/FindZlib.cmake deleted file mode 100644 index b3a4999e9..000000000 --- a/Tools/CMake/finders/FindZlib.cmake +++ /dev/null @@ -1,14 +0,0 @@ -# Ensure zlib has been added before using this module -if(TARGET zlib) - set(ZLIB_FOUND TRUE) - set(ZLIB_INCLUDE_DIRS $) - set(ZLIB_LIBRARIES zlib) - message(STATUS "Using Torques build of zlib.") - # Provide an alias for consistency with modern CMake - if(NOT TARGET ZLIB::ZLIB) - add_library(ZLIB::ZLIB ALIAS zlib) - endif() -else() - set(ZLIB_FOUND FALSE) - message(FATAL_ERROR "Zlib was not added with add_subdirectory before calling find_package(ZLIB).") -endif() \ No newline at end of file