diff --git a/drogon_ctl/templates/cmake.csp b/drogon_ctl/templates/cmake.csp index ce9ef84d..572c090b 100644 --- a/drogon_ctl/templates/cmake.csp +++ b/drogon_ctl/templates/cmake.csp @@ -21,11 +21,13 @@ add_executable(${PROJECT_NAME} main.cc) # to add drogon # add_subdirectory(drogon) # target_link_libraries(${PROJECT_NAME} PRIVATE drogon) -# ############################################################################## - +# +# and comment out the following lines find_package(Drogon CONFIG REQUIRED) target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon) +# ############################################################################## + if(CMAKE_CXX_STANDARD LESS 17) # With C++14, use boost to support any and string_view message(STATUS "use c++14")