Open hmelder opened 1 year ago
I'm not sure how I feel about this. We should instead just provide a DispatchConfig.cmake instead I think.
I will look into that!
I'm not sure how I feel about this. We should instead just provide a DispatchConfig.cmake instead I think.
Do you mean a Configuration in cmake/config? Should I write a cmake function or just extract the existing generation of the pkg config file?
@compnerd
I'm not sure how I feel about this. We should instead just provide a DispatchConfig.cmake instead I think.
Do you mean a Configuration in cmake/config? Should I write a cmake function or just extract the existing generation of the pkg config file?
No, CMake has its own means of providing the configuration for the project. Look at the CMake documentation related to FindPackage
.
libdispatch should install a pkg-config file as it is the defacto standard querying mechanism on Linux, and other platforms (excluding Apple).