You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line I use oatpp is target_link_libraries(myproject oatpp) (this line works), but fail if changed to target_link_libraries(myproject oatpp oatpp-swagger) , and the cause is when configuring the oatpp-swagger.
Error while configuring:
[cmake] Finding oatpp in location=INSTALLED
[cmake] CMake Error at build/_deps/oatpp-swagger-src/CMakeLists.txt:42 (get_target_property):
[cmake] get_target_property() called with non-existent target "oatpp::oatpp".
[cmake]
The text was updated successfully, but these errors were encountered:
Problem with cmake FetchContent_* both oatpp-swagger and oatpp.
If I use FetchContent_* to install oatpp solely, it works.
Then if I add another FetchContent for oatpp-swagger, it fails.
The one for importing oatpp:
The line I use oatpp is
target_link_libraries(myproject oatpp)
(this line works), but fail if changed totarget_link_libraries(myproject oatpp oatpp-swagger)
, and the cause is when configuring the oatpp-swagger.Error while configuring:
The text was updated successfully, but these errors were encountered: