aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2014-08-14 07:05:16 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2014-08-14 07:05:16 -0700
commit7297ebffc344cce30f2570b1587beae94adeed1e (patch)
tree78d7cafdc75fb4b3dd8089e9006c0f5c20e87d4d /host
parente3826b1a671f4fe9e197b72a9c8dc0aa6976ea0c (diff)
downloaduhd-7297ebffc344cce30f2570b1587beae94adeed1e.tar.gz
uhd-7297ebffc344cce30f2570b1587beae94adeed1e.tar.bz2
uhd-7297ebffc344cce30f2570b1587beae94adeed1e.zip
cmake: fixed FindORC logic, was allowing usage of versions below minimum
Diffstat (limited to 'host')
-rw-r--r--host/cmake/Modules/FindORC.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/Modules/FindORC.cmake b/host/cmake/Modules/FindORC.cmake
index 0d9fc9ca1..e13eae235 100644
--- a/host/cmake/Modules/FindORC.cmake
+++ b/host/cmake/Modules/FindORC.cmake
@@ -9,7 +9,7 @@ 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 AND NOT PC_ORC_V4_11_FOUND))
+if (PC_ORC_V4_11_FOUND OR NOT PC_ORC_FOUND)
FIND_PATH(
ORC_INCLUDE_DIRS