aboutsummaryrefslogtreecommitdiffstats
path: root/lib/entityx/cmake
diff options
context:
space:
mode:
authorclyne <clyne@bitgloo.com>2022-11-17 07:41:09 -0500
committerGitHub <noreply@github.com>2022-11-17 07:41:09 -0500
commit6663c25633a27fcc14d0648bd1afea7ea12f497f (patch)
treedcc2ec993db3c4b75c3e7e3df35b0494a9ce1f32 /lib/entityx/cmake
parentda0913771538fd9b1ca538615fd9aa0388608466 (diff)
parent57013add5b7c524086272be7d395f9ec5109bde2 (diff)
Merge pull request #3 from tcsullivan/lib-cleanupHEADmaster
Lib cleanup
Diffstat (limited to 'lib/entityx/cmake')
-rw-r--r--lib/entityx/cmake/FindEntityX.cmake34
1 files changed, 0 insertions, 34 deletions
diff --git a/lib/entityx/cmake/FindEntityX.cmake b/lib/entityx/cmake/FindEntityX.cmake
deleted file mode 100644
index fad310d..0000000
--- a/lib/entityx/cmake/FindEntityX.cmake
+++ /dev/null
@@ -1,34 +0,0 @@
-# Look for a version of EntityX on the local machine
-#
-# By default, this will look in all common places. If EntityX is built or
-# installed in a custom location, you're able to either modify the
-# CMakeCache.txt file yourself or simply pass the path to CMake using either the
-# environment variable `ENTITYX_ROOT` or the CMake define with the same name.
-
-set(ENTITYX_PATHS
- ${ENTITYX_ROOT}
- $ENV{ENTITYX_ROOT}
- ~/Library/Frameworks
- /Library/Frameworks
- /usr/local
- /usr
- /sw
- /opt/local
- /opt/csw
- /opt
-)
-
-find_path(ENTITYX_INCLUDE_DIR entityx/entityx.h PATH_SUFFIXES include PATHS ${ENTITYX_PATHS})
-find_library(ENTITYX_LIBRARY NAMES entityx PATH_SUFFIXES lib PATHS ${ENTITYX_PATHS})
-find_library(ENTITYX_LIBRARY_DEBUG NAMES entityx-d PATH_SUFFIXES lib PATHS ${ENTITYX_PATHS})
-
-set(ENTITYX_LIBRARIES ${ENTITYX_LIBRARY})
-set(ENTITYX_INCLUDE_DIRS ${ENTITYX_INCLUDE_DIR})
-
-include(FindPackageHandleStandardArgs)
-
-# handle the QUIETLY and REQUIRED arguments and set ENTITYX_FOUND to TRUE if
-# all listed variables are TRUE
-find_package_handle_standard_args(entityx DEFAULT_MSG ENTITYX_LIBRARY ENTITYX_INCLUDE_DIR)
-
-mark_as_advanced(ENTITYX_INCLUDE_DIR ENTITYX_LIBRARY)