nitroshare / qhttpengine

HTTP server for Qt applications
MIT License
159 stars 76 forks source link

Re-enable static builds #25

Closed tonytheodore closed 6 years ago

tonytheodore commented 6 years ago

Static option seems to have been removed, though cmake's built-in BUILD_SHARED_LIBS controls both add_library and DEFINE_SYMBOL, so it's easy to enable while keeping the current behaviour.

tonytheodore commented 6 years ago

Also needs Qt5Network in the pkg-config file - all working for me with static and shared builds.

nathan-osman commented 6 years ago

Thanks for getting this working again.