mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Fix args to FIND_PACKAGE_HANDLE_STANDARD_ARGS in FindMaven.cmake and FindTee.cmake closes #980
This commit is contained in:
parent
cb575b7f5e
commit
fd9551bb79
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
find_program(MAVEN_EXECUTABLE mvn)
|
find_program(MAVEN_EXECUTABLE mvn)
|
||||||
include (FindPackageHandleStandardArgs)
|
include (FindPackageHandleStandardArgs)
|
||||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MAVEN FOUND_VAR MAVEN_FOUND 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)
|
if(MAVEN_FIND_REQUIRED AND NOT MAVEN_FOUND)
|
||||||
message(FATAL_ERROR "Could not find mvn")
|
message(FATAL_ERROR "Could not find mvn")
|
||||||
endif()
|
endif()
|
||||||
|
@ -15,7 +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 FOUND_VAR REQUIRED_VARS TEE_EXECUTABLE)
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Tee FOUND_VAR REQUIRED_VARS TEE_EXECUTABLE)
|
||||||
if(Tee_FIND_REQUIRED AND NOT TEE_FOUND)
|
if(Tee_FIND_REQUIRED AND NOT TEE_FOUND)
|
||||||
message(FATAL_ERROR "Could not find tee")
|
message(FATAL_ERROR "Could not find tee")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user