Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake install directory wrongly specified #7

Open
matthew-brett opened this issue Aug 13, 2013 · 0 comments
Open

CMake install directory wrongly specified #7

matthew-brett opened this issue Aug 13, 2013 · 0 comments

Comments

@matthew-brett
Copy link

I am getting an error at install time like this:

-- Install configuration: ""
CMake Error at cmake_install.cmake:31 (FILE):
  file INSTALL cannot find
  "/Users/mb312/dev_trees/minc-toolkit/build/external//Users/mb312/usr/local/bin".

I tracked this to these lines in cmake_install.cmake (generated file):

IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/." TYPE DIRECTORY FILES "/Users/mb312/dev_trees/minc-toolkit/build/external//Users/mb312/usr/local/lib")
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")

I think this comes from the adding SUPERBUILD_STAGING_PREFIX to the output directory around 395. I realize I'm not sure what this is for; I added a commit to remove the use of this prefix to my pull request #6 but maybe this is not the right thing to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant