dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #23745
[Bug 791831] Re: Problem with find_package(dolfin 0.9.11 REQUIRED) in external project
** Changed in: dolfin
Status: Confirmed => Fix Committed
--
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:
Fix Committed
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