summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-05 01:20:25 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-05 01:20:25 +0300
commit4a1b96155d76c8c6245cebcf876cc169fe63ce6a (patch)
tree000ba453c74bdb5a44ba73a1805db2b683eef8ca /CMake
parent31b067a6de1ae22a241c19e85f1eff7a51f4ce48 (diff)
downloadplus-4a1b96155d76c8c6245cebcf876cc169fe63ce6a.tar.gz
plus-4a1b96155d76c8c6245cebcf876cc169fe63ce6a.tar.bz2
plus-4a1b96155d76c8c6245cebcf876cc169fe63ce6a.tar.xz
plus-4a1b96155d76c8c6245cebcf876cc169fe63ce6a.zip
Remove physfs from cmake and switch to using virtfs.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/Modules/FindENet.cmake52
1 files changed, 0 insertions, 52 deletions
diff --git a/CMake/Modules/FindENet.cmake b/CMake/Modules/FindENet.cmake
deleted file mode 100644
index 98da51a3d..000000000
--- a/CMake/Modules/FindENet.cmake
+++ /dev/null
@@ -1,52 +0,0 @@
-# - Try to find enet
-# Once done this will define
-#
-# ENET_FOUND - system has enet
-# ENET_INCLUDE_DIR - the enet include directory
-# ENET_LIBRARIES - the libraries needed to use enet
-# ENET_DEFINITIONS - Compiler switches required for using enet
-
-IF (ENet_INCLUDE_DIR AND ENet_LIBRARY)
- SET(ENet_FIND_QUIETLY TRUE)
-ENDIF (ENet_INCLUDE_DIR AND ENet_LIBRARY)
-
-# for Windows we rely on the environement variables
-# %INCLUDE% and %LIB%; FIND_LIBRARY checks %LIB%
-# automatically on Windows
-IF(WIN32)
- FIND_PATH(ENet_INCLUDE_DIR enet/enet.h
- $ENV{INCLUDE}
- )
- FIND_LIBRARY(ENet_LIBRARY
- NAMES enet
- )
-ELSE()
- FIND_PATH(ENet_INCLUDE_DIR enet/enet.h
- /usr/include
- /usr/local/include
- )
- FIND_LIBRARY(ENet_LIBRARY
- NAMES enet
- PATHS /usr/lib /usr/local/lib
- )
-ENDIF()
-
-IF (ENet_INCLUDE_DIR AND ENet_LIBRARY)
- SET(ENET_FOUND TRUE)
- SET(ENET_INCLUDE_DIR ${ENet_INCLUDE_DIR})
- SET(ENET_LIBRARIES ${ENet_LIBRARY})
-ELSE ()
- SET(ENET_FOUND FALSE)
-ENDIF ()
-
-IF (ENET_FOUND)
- IF (NOT ENet_FIND_QUIETLY)
- MESSAGE(STATUS "Found enet: ${ENet_LIBRARY}")
- ENDIF (NOT ENet_FIND_QUIETLY)
-ELSE (ENET_FOUND)
- IF (ENet_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could NOT find enet")
- ENDIF (ENet_FIND_REQUIRED)
-ENDIF (ENET_FOUND)
-
-MARK_AS_ADVANCED(ENet_INCLUDE_DIR ENet_LIBRARY)