From 106e76243b1c703f1dace53727efa8be01b166dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Thu, 29 Sep 2016 10:34:13 -0400 Subject: Have CMake check for Ucommon before Commoncpp Failure to install uCommon C++ will result in the message "Could NOT find commoncpp development files". This could be confusing, as "commoncpp" may ambiguously refer to either Common C++ (commoncpp2) or uCommon C++ (libcommoncpp). By checking for Ucommon first, the resulting message will be: "Could NOT find ucommon development files", which is clearly unambiguous. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 401fe18..0acff4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,9 +26,9 @@ find_package(LibSndfile REQUIRED) find_package(Readline REQUIRED) find_package(BISON REQUIRED) find_package(FLEX REQUIRED) +find_package(Ucommon REQUIRED) find_package(Commoncpp REQUIRED) find_package(Ccrtp REQUIRED) -find_package(Ucommon REQUIRED) if (WITH_QT5) find_package(Qt5Widgets REQUIRED) -- cgit v1.2.3