lifting-bits/sleigh

Don't install headers that aren't part of SLEIGH core

tetsuo-cpp opened this issue · 1 comments

At the moment, this CMake wrapper only builds the core part of SLEIGH but omits some optional components. However, the installation includes headers for those optional parts.

So if an application using SLEIGH tries to use an optional component, it will compile fine since the header exists in the installation but will hit an error at linking time. To solve this, we should only install the headers that we can use.

The relevant part of the CMake configuration is here:

FILES_MATCHING PATTERN "*.h*"

As of f524fa3, this is no longer relevant.