/usr/lib/cmake/paraview/FindCosmoTools.cmake is in paraview-dev 5.0.1+dfsg1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # - Try to find the GenericIO library
# Once done this will define
#
# COSMOTOOLS_FOUND -- boolean that indicates whether GenericIO was found
# COSMOTOOLS_INCLUDE_DIR -- the include path for GenericIO
# COSMOTOOLS_LIBRARIES -- the GenericIO libraries to link against
## Try to find include directory
find_path(COSMOTOOLS_INCLUDE_DIR
NAMES CosmoToolsDefinitions.h
PATHS /usr/include /usr/local/include
)
## Try to find the GenericIO library
find_library(COSMOTOOLS_LIBRARIES
NAMES cosmotools
PATHS /usr/lib
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
CosmoTools DEFAULT_MSG COSMOTOOLS_INCLUDE_DIR COSMOTOOLS_LIBRARIES)
mark_as_advanced(COSMOTOOLS_INCLUDE_DIR)
mark_as_advanced(COSMOTOOLS_LIBRARIES)
|