diff --git a/drogon_ctl/create_project.cc b/drogon_ctl/create_project.cc index b79de2f5..75502199 100644 --- a/drogon_ctl/create_project.cc +++ b/drogon_ctl/create_project.cc @@ -60,6 +60,7 @@ static void newCmakeFile(std::ofstream &cmakeFile,const std::string &projectName "set(CMAKE_CXX_FLAGS_DEBUG \"${CMAKE_CXX_FLAGS_DEBUG} -Wall -std=${CMAKE_CXX_STD_FLAGS}\")\n" "set(CMAKE_CXX_FLAGS_RELEASE \"${CMAKE_CXX_FLAGS_RELEASE} -Wall -std=${CMAKE_CXX_STD_FLAGS}\")\n" "\n" + "set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake_modules/)\n" "#jsoncpp\n" "find_package (Jsoncpp REQUIRED)\n" "include_directories(${JSONCPP_INCLUDE_DIRS})\n" @@ -224,4 +225,4 @@ void create_project::createProject(const std::string &projectName) newJsonFindFile(jsonFile); std::ofstream gitFile(".gitignore",std::ofstream::out); newGitIgFile(gitFile); -} \ No newline at end of file +}