← Back to team overview

dolfin team mailing list archive

[Bug 791831] Re: Problem with find_package(dolfin 0.9.11 REQUIRED) in external project

 

** Changed in: dolfin
       Status: New => Confirmed

** Changed in: dolfin
   Importance: Undecided => Medium

** Changed in: dolfin
     Assignee: (unassigned) => Johannes Ring (johannr)

** Changed in: dolfin
    Milestone: None => 0.9.12

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

Title:
  Problem with find_package(dolfin 0.9.11 REQUIRED) in external project

Status in DOLFIN:
  Confirmed

Bug description:
  In the CMakeLists.txt file for Meshbuilder we have

  find_package(dolfin REQUIRED)

  which works fine, but when adding a version number to

  find_package(dolfin 0.9.11 REQUIRED)

  CMake complains:

  CMake Error at CMakeLists.txt:23 (find_package):
    Could not find a configuration file for package dolfin.

    Set dolfin_DIR to the directory containing a CMake configuration file for
    dolfin.  The file will have one of the following names:

      dolfinConfig.cmake
      dolfin-config.cmake

  I suspected this could be related to the '+'-character in "0.9.11+"
  but the same happens when using a stable release of Dolfin (0.9.11).


References