mirror of
https://github.com/nasa/trick.git
synced 2025-03-10 14:34:22 +00:00
Merge branch 'master' of https://github.com/nasa/trick
This commit is contained in:
commit
7159627a9c
@ -8,9 +8,12 @@
|
|||||||
#
|
#
|
||||||
# ::
|
# ::
|
||||||
#
|
#
|
||||||
# MAVEN_EXECUTABLE: the full path to the tee tool.
|
# MAVEN_EXECUTABLE: the full path to the mvn tool.
|
||||||
# MAVEN_FOUND: True if tee has been found.
|
# MAVEN_FOUND: True if mvn has been found.
|
||||||
|
|
||||||
find_program(MAVEN_EXECUTABLE mvn)
|
find_program(MAVEN_EXECUTABLE mvn)
|
||||||
include (FindPackageHandleStandardArgs)
|
include (FindPackageHandleStandardArgs)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MAVEN REQUIRED_VARS MAVEN_EXECUTABLE)
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MAVEN FOUND_VAR MAVEN_FOUND REQUIRED_VARS MAVEN_EXECUTABLE)
|
||||||
|
if(Maven_FIND_REQUIRED AND NOT MAVEN_FOUND)
|
||||||
|
message(FATAL_ERROR "Could not find mvn")
|
||||||
|
endif()
|
||||||
|
@ -15,5 +15,7 @@ find_program(TEE_EXECUTABLE tee)
|
|||||||
mark_as_advanced( TEE_EXECUTABLE )
|
mark_as_advanced( TEE_EXECUTABLE )
|
||||||
|
|
||||||
include (FindPackageHandleStandardArgs)
|
include (FindPackageHandleStandardArgs)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TEE REQUIRED_VARS TEE_EXECUTABLE)
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TEE FOUND_VAR REQUIRED_VARS TEE_EXECUTABLE)
|
||||||
|
if(Tee_FIND_REQUIRED AND NOT TEE_FOUND)
|
||||||
|
message(FATAL_ERROR "Could not find tee")
|
||||||
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user