[odb-users] ODB cmake c++11 issue
Alain-Serge Nagni
asnagni at yahoo.com
Sat Mar 12 18:28:05 EST 2016
Hi guys, I solved the proble: By looking in the UseODB.cmake I figureed out we need to add the option: STANDARD c++14
By adding that option to the to the "odb_compile" function everything is working fine. So you should have something like this:
odb_compile(OdbCMake_SOURCES STANDARD c++14 FILES ${OdbCMake_ODB_HEADERS} DB sqlite GENERATE_QUERY GENERATE_SESSION GENERATE_SCHEMA)
Thank you
More information about the odb-users
mailing list