Gergő Gugi
Gergő Gugi

Reputation: 1

CMAKE header only project needs to compile with lower cpp standard

I have a HEADER-ONLY older project that must compile with c++14 or older versions with the gcc compiler. My project however must use c++17 or newer.

How can I make it work?

Tried compiling to a static library with CMAKE but that will not work since most of the code is in .h and .hpp files which CMAKE does not want to compile to a static lib

Upvotes: 0

Views: 16

Answers (0)

Related Questions