From e92a485abf7202af054771793c3551cb3317ec1f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 6 Apr 2019 10:55:49 +0200 Subject: cmake: add more verbose error message --- cmake/opentrack-boilerplate.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index c0885b43..b26b32e0 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -120,7 +120,7 @@ function(otr_module n_) ) if(NOT "${arg_UNPARSED_ARGUMENTS}" STREQUAL "") - message(FATAL_ERROR "otr_module bad formals: ${arg_UNPARSED_ARGUMENTS}") + message(FATAL_ERROR "otr_module(${n_}) bad formals: ${arg_UNPARSED_ARGUMENTS}") endif() set(n "opentrack-${n_}") -- cgit v1.2.3