blob: b95b8c07093984581d86299863543ae541a44b41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -257,7 +257,7 @@ if (SEARCH_ORCANIA_U)
set(Orcania_FIND_QUIETLY ON) # force to find Orcania quietly
include(FindOrcania)
find_package(Orcania ${ORCANIA_VERSION_REQUIRED} QUIET) # try to find orcania
- if (NOT ORCANIA_FOUND)
+ if (NOT ORCANIA_FOUND AND NOT PC_ORCANIA_FOUND)
if (DOWNLOAD_DEPENDENCIES)
include(DownloadProject)
download_project(PROJ orcania # ... otherwise, download archive
|