vinipsmaker / tufao

An asynchronous web framework for C++ built on top of Qt
http://vinipsmaker.github.io/tufao/
GNU Lesser General Public License v2.1
589 stars 179 forks source link

cmake: use package configuration file instead of find module #66

Closed drizt closed 9 years ago

drizt commented 9 years ago

Minimum required cmake version is increased.

drizt commented 9 years ago

Current FindTufao.cmake.in is not suitable for Linux distros. Linuxes often allow to have both versions (for i386 and x86_64) of devel packagaes installed in parallele. So common files must be the same. My patch solves this problem. Also I saved variables from current find module. So new version must be fully compatible with old.

vinipsmaker commented 9 years ago

After issuing make install, Tufão isn't ready for use.

Solve this issue, then I can accept the patch

drizt commented 9 years ago

What issue? make install works for me on Mac OS, Fedora, Ubuntu, OpenSUSE and Debian.

vinipsmaker commented 9 years ago

make install does work, but looks like there are missing files for the installation. The cmake example (hello-cmake) doesn't compile anymore.

drizt commented 9 years ago

Ah, I missed major version in module name

drizt commented 9 years ago

fixed. try now.

vinipsmaker commented 9 years ago

Merged.