← Back to team overview

dolfin team mailing list archive

[Bug 675274] Re: Buildsystem uses wrong cmake config for 'make tests'

 

Adding the following line

  set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH}
${CMAKE_CURRENT_BINARY_DIR}/dolfin)

early in the top-level CMakeLists.txt file will force CMake to use the
correct dolfin-config.cmake when running 'make test'. Does this fix the
problem for you Garth?

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/675274

Title:
  Buildsystem uses wrong cmake config for 'make tests'

Status in DOLFIN:
  Confirmed

Bug description:
  When running 'make test', the build system uses an installed version of 

  dolfin-config.cmake

rather than one in the local build directory





References