bloomberg / rmqcpp

A batteries included C++ RabbitMQ Client Library/API.
Apache License 2.0
68 stars 16 forks source link

Installation of cmake files to prefix set at installation time does not work #45

Closed roe85 closed 3 months ago

roe85 commented 3 months ago

Describe the bug When installing rmqcpp with cmake --install . --prefix some/dir everything is installed to some/dir except for the cmake files

To Reproduce Steps to reproduce the behavior:

  1. After building rmqcpp go to build folder
  2. Call cmake --install . --prefix /tmp/b
  3. See error because it tries to install the *.cmake files to /usr, the others work

Expected behavior It adheres to the prefix also for the *.cmake files

Environment (please complete the following information):