eProsima / foonathan_memory_vendor

foonathan/memory vendor package for Fast DDS. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
24 stars 46 forks source link

[13853] Remove unused file that bewilder CMake find mechanism #57

Closed MiguelBarro closed 2 years ago

MiguelBarro commented 2 years ago

The faulty scenario is the following:

> git clone https://github.com/eProsima/foonathan_memory_vendor.git
> cmake -DCMAKE_INSTALL_PREFIX="./install" -B ./foonathan_memory_vendor/build ./foonathan_memory_vendor 
> cmake --build ./foonathan_memory_vendor/build --config Release --target install 

here the CMake generator stage finds the foonathan_memory-config.cmake within the repo as a valid installation breaking the build.

Note that unfortunately the file location matches the following CMake search procedure case

<prefix>/<name>*/                                               (W)

because foonathan_memory_vendor matches foonathan_memory*.