-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Hello, I have copied the FindPETSc.cmake to /usr/share/cmake-3.7/Modules (where all the other .cmake files are). However, when I run cmake the following message is shown:
" By not providing "FindPETSC.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "PETSC", but
CMake did not find one. "
This is how FindPETSc.cmake is called in my top level CMakeLists:
find_package(PETSC)
if(PETSC_FOUND)
include_directories(${PETSC_INCLUDE_DIR})
add_definitions( "-DHAS_PETSC" )
endif()
Could you please provide more information?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels