Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oatpp-swagger not installing while building the docker image #6

Open
kryptoblack opened this issue Aug 7, 2022 · 2 comments
Open

Comments

@kryptoblack
Copy link

I am trying to install and run the application but I am unable to because oatpp-swagger isn't found.

Which is caused because the cmake for oatpp-swagger module is failing.

############################################################################
## oatpp-swagger module. Resolving dependencies...


############################################################################

CMake Error at CMakeLists.txt:103 (add_compile_definitions):
  Unknown CMake command "add_compile_definitions".

Opened /bin/ash from the container to find the cmake version to be 3.11.1.

cmake version 3.11.1

According to this the cmake version needs to be >=3.12 to use "add_compile_definitions"

The docker image needs to be upgraded with a higher version of cmake. That should solve this issue.

@kryptoblack
Copy link
Author

There is a PR raised that can solve this (oatpp/oatpp-swagger#66) without changing the version of cmake. Could we work on this I am tired of doing it manually.

@lganzzzo
Copy link
Member

Hello @kryptoblack ,
This issue should be fixed now.
Please use the latest master of oatpp-swagger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants