Skip to content

Commit

Permalink
Merge pull request #100 from Goddard-Fortran-Ecosystem/bugfix/#98-config
Browse files Browse the repository at this point in the history
Fixes #98.
  • Loading branch information
tclune authored Apr 8, 2019
2 parents 9a8b59c + 380bbaf commit f009fff
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions cmake/PFUNITConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,18 @@
# PFUNIT_DRIVER - The pFUnit driver needed for running tests
# add_pfunit_test - Helper function for defining test suites with .pf-files

find_package (PythonInterp REQUIRED)
find_package (GFTL REQUIRED)
find_package (GFTL_SHARED REQUIRED)
find_package (FARGPARSE REQUIRED)

set (prefix ${CMAKE_CURRENT_LIST_DIR}/../..)
set (PFUNIT_TOP_DIR ${prefix}/PFUNIT-@PFUNIT_VERSION_MAJOR@.@PFUNIT_VERSION_MINOR@ CACHE PATH "")
include ("${PFUNIT_TOP_DIR}/cmake/PFUNIT.cmake")

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/../include")
include (add_pfunit_ctest)

find_package (PythonInterp REQUIRED)

#include(CMakeFindDependencyMacro)
#find_dependency(GFTL)
#find_dependency(GFTL_SHARED)
#find_dependency(FARGPARSE)
find_package (GFTL REQUIRED)
find_package (GFTL_SHARED REQUIRED)
find_package (FARGPARSE REQUIRED)

#set (PFUNIT_FOUND TRUE)
#set (PFUNIT_VERSION "@PROJECT_VERSION@")
Expand Down

0 comments on commit f009fff

Please sign in to comment.