Changeset View
Changeset View
Standalone View
Standalone View
cmake/modules/FindClazyStandalone.cmake
- This file was added.
1 | # Find the clazy-standalone executable | ||||
---|---|---|---|---|---|
2 | # | ||||
3 | # Defines the following variables | ||||
4 | # ClazyStandalone_EXECUTABLE - path of the clazy-standalone executable | ||||
5 | | ||||
6 | #============================================================================= | ||||
7 | # Copyright 2018 Anton Anikin <anton@anikin.xyz> | ||||
8 | # | ||||
9 | # Distributed under the OSI-approved BSD License (the "License"); | ||||
10 | # see accompanying file Copyright.txt for details. | ||||
11 | # | ||||
12 | # This software is distributed WITHOUT ANY WARRANTY; without even the | ||||
13 | # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||||
14 | # See the License for more information. | ||||
15 | #============================================================================= | ||||
16 | | ||||
17 | find_program(ClazyStandalone_EXECUTABLE NAMES clazy-standalone) | ||||
18 | | ||||
19 | include(FindPackageHandleStandardArgs) | ||||
20 | find_package_handle_standard_args(ClazyStandalone DEFAULT_MSG ClazyStandalone_EXECUTABLE) | ||||
21 | | ||||
22 | mark_as_advanced(ClazyStandalone_EXECUTABLE) |