summaryrefslogtreecommitdiffstats
path: root/cmakemodules/FindKBFX.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-25 16:10:54 -0600
committerTimothy Pearson <[email protected]>2011-11-25 16:10:54 -0600
commit17e330a9ae07a8d69bd33104de59b9d3ada7b20c (patch)
tree446ac9e405555f43a7b2278ad790cae50f06373c /cmakemodules/FindKBFX.cmake
parente5e6497cb7ef4cc3d384c1f01962f99934cc1eee (diff)
downloadkbfx-17e330a9ae07a8d69bd33104de59b9d3ada7b20c.tar.gz
kbfx-17e330a9ae07a8d69bd33104de59b9d3ada7b20c.zip
Clean up
Diffstat (limited to 'cmakemodules/FindKBFX.cmake')
-rw-r--r--cmakemodules/FindKBFX.cmake32
1 files changed, 0 insertions, 32 deletions
diff --git a/cmakemodules/FindKBFX.cmake b/cmakemodules/FindKBFX.cmake
deleted file mode 100644
index b865018..0000000
--- a/cmakemodules/FindKBFX.cmake
+++ /dev/null
@@ -1,32 +0,0 @@
-# - Try to find the KBFX package -
-# If found the following will be defined
-#
-# KBFX_FOUND - KBFX package found on the system
-# KBFX_INCLUDE_DIR - Directory of the KBFX package include files
-# KBFX_LIBRARY - Where libkbfxplasma.so resides
-#
-
-FIND_PATH(KBFX_INCLUDE_DIR kbfx/kbfxconfig.h
- PATHS
- ${INCLUDE_SEARCH_PATHES}
-)
-
-FIND_LIBRARY(KBFX_LIBRARY NAMES kbfxplasma
- PATHS
- ${LIB_SEARCH_PATHES}
-)
-
-IF(KBFX_INCLUDE_DIR AND KBFX_LIBRARY)
- SET(KBFX_FOUND TRUE)
-ENDIF(KBFX_INCLUDE_DIR AND KBFX_LIBRARY)
-
-IF(KBFX_FOUND)
- IF(NOT KBFX_FIND_QUIETLY)
- MESSAGE(STATUS "Found KBFX package: ${KBFX_LIBRARY}")
- ENDIF(NOT KBFX_FIND_QUIETLY)
-ELSE(KBFX_FOUND)
- IF(KBFX_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could not find KBFX package! Please download and install KBFX from http://www.kbfx.org")
- ENDIF(KBFX_FIND_REQUIRED)
-ENDIF(KBFX_FOUND)
-