Skip to content

Error creating OpenMS export file [173] #173

Closed

Description

@timosachsenberg

Submitted by aly_st on 2010-08-09 22:20:17

In source:cmake/install.cmake, the command

install(EXPORT OpenMSLibExportGroup DESTINATION cmake/ FILE ${CF_LibOpenMSExport})

expects ${CF_LibOpenMSExport} to be filename, not filepath.
However, in source:CMakeLists.txt it's set to be path:

set(CF_LibOpenMSExport ${PROJECT_BINARY_DIR}/cmake/OpenMSLibraryExport.cmake)

That leads to build failure:

CMake Error at cmake/install.cmake:19 (install):
  install EXPORT given invalid export file name
  "/home/astukalov/build/OpenMS/src/OpenMS-svn-build/cmake/OpenMSLibraryExport.cmake".
  The FILE argument may not contain a path.  Specify the path in the
  DESTINATION argument.

CMake 2.8.1

Patch is attached


Commented by cbielow on 2010-08-10 17:01:17:
** fixed in [7180], not using the proposed patch though, as this leads changes the export structure of OpenMS and leads to cluttered build-tree. Instead,
install(EXPORT ....
is called with the filename only


Commented by cbielow on 2010-08-10 17:01:44:
** fixed in [7180], not using the proposed patch though, as this leads changes the export structure of OpenMS and leads to cluttered build-tree. Instead,
install(EXPORT ....
is called with the filename only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Build Systemdefectmajor

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions