From 7297ebffc344cce30f2570b1587beae94adeed1e Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Thu, 14 Aug 2014 07:05:16 -0700 Subject: cmake: fixed FindORC logic, was allowing usage of versions below minimum --- host/cmake/Modules/FindORC.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') 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 -- cgit v1.2.3