dlib recommends a non-standard way of integrating with other projects CMake projects, by directly including dlib's CMake. Besides being non standard, it forces the user to recompile dlib everytime we use it.
dlib should support an official way to install it instead.
Amongst the advantages:
- this would allow to compile the library only once
- this would ease integration with CMake project (one would just write
find_package(dlib) to include it)
- providing a real installation target would make it possible to package
dlib in the various Linux/MacOSX distributions
- it would also permit a standard way to access the version number, which is really important considering the recent API break between minor versions
If the maintainer is willing to consider a pull-request implementing such changes, I am willing to contribute it
dlib recommends a non-standard way of integrating with other projects CMake projects, by directly including dlib's CMake. Besides being non standard, it forces the user to recompile dlib everytime we use it.
dlib should support an official way to install it instead.
Amongst the advantages:
find_package(dlib)to include it)dlibin the various Linux/MacOSX distributionsIf the maintainer is willing to consider a pull-request implementing such changes, I am willing to contribute it