diff options
author | Kelly Washington <kelly@lindenlab.com> | 2011-03-03 12:05:40 -0800 |
---|---|---|
committer | Kelly Washington <kelly@lindenlab.com> | 2011-03-03 12:05:40 -0800 |
commit | 6e97ead181f04c5cb4953e5e3316d7d8caf0a1ec (patch) | |
tree | 856599f3d31f327515de9dddb8740db476830a38 /indra/cmake | |
parent | d3a9d6a6cef6630995c652b4cc04c8807dbe6d4e (diff) |
Add early exit to message template check if it hasn't changed.
Diffstat (limited to 'indra/cmake')
-rw-r--r-- | indra/cmake/TemplateCheck.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/TemplateCheck.cmake b/indra/cmake/TemplateCheck.cmake index fa4e387dd5..24805b4214 100644 --- a/indra/cmake/TemplateCheck.cmake +++ b/indra/cmake/TemplateCheck.cmake @@ -5,10 +5,10 @@ include(Python) macro (check_message_template _target) add_custom_command( TARGET ${_target} - POST_BUILD + PRE_LINK COMMAND ${PYTHON_EXECUTABLE} ARGS ${SCRIPTS_DIR}/template_verifier.py - --mode=development --cache_master - COMMENT "Verifying message template" + --mode=development --cache_master ${TEMPLATE_VERIFIER_OPTIONS} + COMMENT "Verifying message template - See http://wiki.secondlife.com/wiki/Template_verifier.py" ) endmacro (check_message_template) |