aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/marvell
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-18 14:36:57 +0200
committerDamjan Marion <damarion@cisco.com>2018-08-18 14:36:58 +0200
commit9f540ed348e3a3ef01951208211603a07fd574d6 (patch)
treeb89b90f4d163c64271b5c34afbc895e801ab3385 /src/plugins/marvell
parent74dfaa665bd05e75bd44f5b18376dba053fef15f (diff)
cmake: highlight warning and error messages
Change-Id: Id4b73368382b5e78c138987fe092429af5cb0afd Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/marvell')
-rw-r--r--src/plugins/marvell/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/marvell/CMakeLists.txt b/src/plugins/marvell/CMakeLists.txt
index 283a1aa000d..8767a4fd2b6 100644
--- a/src/plugins/marvell/CMakeLists.txt
+++ b/src/plugins/marvell/CMakeLists.txt
@@ -11,7 +11,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-message("-- Looking for Marvell musdk")
find_path(MUSDK_INCLUDE_DIR NAMES marvell/pp2/pp2.h)
find_library(MUSDK_LIB NAMES musdk)
@@ -26,7 +25,7 @@ if(MUSDK_INCLUDE_DIR AND MUSDK_LIB)
pp2/pp2.c
)
include_directories(${MUSDK_INCLUDE_DIR})
- message("-- Looking for Marvell musdk - found")
+ message(STATUS "Found Marvel MUSDK in ${MUSDK_INCLUDE_DIR}")
else()
- message("-- Looking for Marvell musdk - not found - marvell_plugin disabled")
+ message(WARNING "Marvell MUSDK not found - marvell_plugin disabled")
endif()