FindPhysFS: use find_package_handle_standard_args()
This commit is contained in:
parent
9629443616
commit
172e93bd96
|
@ -54,8 +54,8 @@ FIND_LIBRARY(PHYSFS_LIBRARY
|
||||||
/opt
|
/opt
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(PHYSFS_FOUND "NO")
|
# handle the QUIETLY and REQUIRED arguments and set PHYSFS_FOUND to TRUE if
|
||||||
IF(PHYSFS_LIBRARY AND PHYSFS_INCLUDE_DIR)
|
# all listed variables are TRUE
|
||||||
SET(PHYSFS_FOUND "YES")
|
INCLUDE(FindPackageHandleStandardArgs)
|
||||||
ENDIF(PHYSFS_LIBRARY AND PHYSFS_INCLUDE_DIR)
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(PhysFS DEFAULT_MSG PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue