summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-06 10:55:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-13 18:04:04 +0200
commite92a485abf7202af054771793c3551cb3317ec1f (patch)
treea18a05b4056267ecbd6387af4de3e896aad057ae /cmake
parent7e21dd631a766155ee4d6a5b24fb05dd691cf39f (diff)
cmake: add more verbose error message
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 1 insertions, 1 deletions
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_}")