#
# find_package(PAPI)
#
-# Variables used by this module, they can change the default behaviour and need
+# Variables used by this module, they can change the default behavior and need
# to be set before calling find_package:
#
# PAPI_PREFIX Set this variable to the root installation of
# PAPI_LIBRARY The PAPI library
# PAPI_INCLUDE_DIRS The location of PAPI headers
-set(HAVE_PAPI 0)
+set(HAVE_PAPI OFF)
set(PAPI_HINT ${papi_path} CACHE PATH "Path to search for PAPI headers and library")
find_path(PAPI_PREFIX
if (PAPI_LIBRARY)
if(PAPI_INCLUDE_DIRS)
- set(HAVE_PAPI 1)
+ set(HAVE_PAPI ON)
mark_as_advanced(HAVE_PAPI)
endif()
endif()