silverqx / TinyORM

Modern C++ ORM library
https://www.tinyorm.org
MIT License
231 stars 25 forks source link

Be less assertive in TinyOrmConfig.cmake #22

Closed SchaichAlonso closed 1 year ago

SchaichAlonso commented 1 year ago

Do not fail if ${TinyORM_ROOT}/bin or ${TinyORM_ROOT}/doc don't exist.

bin is only generated if a dynamic target is installed, and the result variable isn't used even if TinyORM installs a dynamic library.

On that occation, remove the assertion on doc, too, because documentation isn't neccessarily deployed, either.

Closes #21