ChimeraTK / project-template

Template for new projects. Can also be used to update cmake scripts in existing projects by merging the changes. This repository intentionally does not have a README.md (which would create conflicts in the projects using this template). For documentation, please follow this link:
https://github.com/ChimeraTK/project-template/blob/master/HowTo_project-template.md
GNU Lesser General Public License v3.0
1 stars 3 forks source link

Draft: Allow install of Find* files to share-cmake #17

Closed phako closed 1 year ago

phako commented 1 year ago

The versioned folder is a Ubuntu speciality, other systems do not really like that folder

phako commented 1 year ago

CMake Error at cmake/create_cmake_config_files.cmake:100: Parse error. Expected "(", got newline with text "

". Call Stack (most recent call first): CMakeLists.txt:112 (include)

-- Configuring incomplete, errors occurred!

phako commented 1 year ago

Actually... I don't think we even need the Find* files anymore...

killenb commented 1 year ago

I am not sure how the config-based module lookup works, but when I am manually configuring against my own installation I have to use "-DCMAKE_MODULE_PATH=~/ChimeraTK_installation/share/cmake-3.16/modules" for ChimeraTK to be found.

phako commented 1 year ago

This is obsolete after the move to import targets