aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules/FindORC.cmake
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2015-07-07 17:01:10 -0700
committerAshish Chaudhari <ashish@ettus.com>2015-07-07 17:01:10 -0700
commit273fb752fb14e0ebf3b04e0729f6545a54baf2c6 (patch)
tree55a5bbb92a6be36d27cf6e9d5755dbacd2b5e114 /host/cmake/Modules/FindORC.cmake
parenta44f791a44fc248f82da070cd6ea2405cf4532f6 (diff)
parent984575c9f1ca18c3d97ba730e20bdbe7b7614c1e (diff)
downloaduhd-273fb752fb14e0ebf3b04e0729f6545a54baf2c6.tar.gz
uhd-273fb752fb14e0ebf3b04e0729f6545a54baf2c6.tar.bz2
uhd-273fb752fb14e0ebf3b04e0729f6545a54baf2c6.zip
Merge branch 'master' into x300/rev7_support
Diffstat (limited to 'host/cmake/Modules/FindORC.cmake')
-rw-r--r--host/cmake/Modules/FindORC.cmake36
1 files changed, 0 insertions, 36 deletions
diff --git a/host/cmake/Modules/FindORC.cmake b/host/cmake/Modules/FindORC.cmake
deleted file mode 100644
index e13eae235..000000000
--- a/host/cmake/Modules/FindORC.cmake
+++ /dev/null
@@ -1,36 +0,0 @@
-########################################################################
-# Find the library for ORC development files
-########################################################################
-
-INCLUDE(FindPkgConfig)
-PKG_CHECK_MODULES(PC_ORC "orc-0.4")
-PKG_CHECK_MODULES(PC_ORC_V4_11 "orc-0.4 > 0.4.11")
-
-#we are using the pkg config as a version check
-#if we have pkg config, the right version must be found
-#the alternative is that no pkg config orc is found
-if (PC_ORC_V4_11_FOUND OR NOT PC_ORC_FOUND)
-
-FIND_PATH(
- ORC_INCLUDE_DIRS
- NAMES orc/orc.h
- HINTS $ENV{ORC_DIR}/include/orc-0.4
- ${PC_ORC_INCLUDEDIR}
- PATHS /usr/local/include/orc-0.4
- /usr/include/orc-0.4
-)
-
-FIND_LIBRARY(
- ORC_LIBRARIES
- NAMES orc-0.4
- HINTS $ENV{ORC_DIR}/lib
- ${PC_ORC_LIBDIR}
- PATHS /usr/local/lib
- /usr/lib
-)
-
-endif() #both PC ORC FOUND
-
-INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(ORC DEFAULT_MSG ORC_LIBRARIES ORC_INCLUDE_DIRS)
-MARK_AS_ADVANCED(ORC_LIBRARIES ORC_INCLUDE_DIRS)