FindPhysFS¶
Finds the PhysicsFS library (PhysFS) for file I/O abstraction.
Result Variables¶
This module defines the following variables:
PhysFS_FOUNDBoolean indicating whether PhysicsFS library is found. For backward compatibility, the
PHYSFS_FOUNDvariable is also set to the same value.
Cache Variables¶
The following cache variables may also be set:
PHYSFS_LIBRARYPath to the PhysicsFS library needed to link against.
PHYSFS_INCLUDE_DIRDirectory containing the
physfs.hand related headers needed for using the library.
Hints¶
This module accepts the following variables:
PHYSFSDIREnvironment variable that can be set to help locate a PhysicsFS library installed in a custom location. It should point to the installation destination that was used when configuring, building, and installing PhysicsFS library:
./configure --prefix=$PHYSFSDIR.
Examples¶
Finding the PhysicsFS library:
find_package(PhysFS)