diff --git a/CMakeLists.txt b/CMakeLists.txt index 753046e01..1dd1b53eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1151,9 +1151,11 @@ if(NOT VOLKGNSSSDR_FOUND) set(ORC_ENABLED ON) else() set(ORC_ENABLED OFF) + set(ENABLE_ORC OFF) endif() else() set(ORC_ENABLED OFF) + set(ENABLE_ORC OFF) endif() set(VOLK_GNSSSDR_CMAKE_ARGS ${VOLK_GNSSSDR_COMPILER} @@ -1342,6 +1344,7 @@ if(NOT VOLKGNSSSDR_FOUND) ) else() set(ENABLE_OWN_CPUFEATURES OFF) + set(ENABLE_ORC OFF) endif() @@ -3343,6 +3346,7 @@ add_feature_info(ENABLE_PACKAGING ENABLE_PACKAGING "Enables software packaging." add_feature_info(ENABLE_OWN_GLOG ENABLE_OWN_GLOG "Forces the downloading and building of Google glog.") add_feature_info(ENABLE_OWN_ARMADILLO ENABLE_OWN_ARMADILLO "Forces the downloading and building of Armadillo.") add_feature_info(ENABLE_LOG ENABLE_LOG "Enables runtime internal logging with Google glog.") +add_feature_info(ENABLE_ORC ENABLE_ORC "Use the Optimized Inner Loop Runtime Compiler (ORC) for building volk_gnsssdr.") add_feature_info(ENABLE_STRIP ENABLE_STRIP "Enables the generation of stripped binaries (without debugging symbols).") add_feature_info(ENABLE_UNIT_TESTING ENABLE_UNIT_TESTING "Enables building of Unit Tests.") add_feature_info(ENABLE_UNIT_TESTING_MINIMAL ENABLE_UNIT_TESTING_MINIMAL "Enables building a minimal set of Unit Tests.")