diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-04-17 06:38:15 (GMT) |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2010-04-17 09:09:45 (GMT) |
commit | 172e93bd963848db88a58625d5104f1102c78312 (patch) | |
tree | 2185d07b2456cb919f0828097b38e8dcfb7602aa /Modules/FindPhysFS.cmake | |
parent | 962944361660ccc0cd0075ff4a94c82eb207265e (diff) | |
download | CMake-172e93bd963848db88a58625d5104f1102c78312.zip CMake-172e93bd963848db88a58625d5104f1102c78312.tar.gz CMake-172e93bd963848db88a58625d5104f1102c78312.tar.bz2 |
FindPhysFS: use find_package_handle_standard_args()
Diffstat (limited to 'Modules/FindPhysFS.cmake')
-rw-r--r-- | Modules/FindPhysFS.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindPhysFS.cmake b/Modules/FindPhysFS.cmake index 4775a8e..98bebe6 100644 --- a/Modules/FindPhysFS.cmake +++ b/Modules/FindPhysFS.cmake @@ -54,8 +54,8 @@ FIND_LIBRARY(PHYSFS_LIBRARY /opt ) -SET(PHYSFS_FOUND "NO") -IF(PHYSFS_LIBRARY AND PHYSFS_INCLUDE_DIR) - SET(PHYSFS_FOUND "YES") -ENDIF(PHYSFS_LIBRARY AND PHYSFS_INCLUDE_DIR) +# handle the QUIETLY and REQUIRED arguments and set PHYSFS_FOUND to TRUE if +# all listed variables are TRUE +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(PhysFS DEFAULT_MSG PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR) |