Fix drogon_ctl bug

This commit is contained in:
an-tao 2018-09-15 22:58:48 +08:00
parent fd78b4eb40
commit 1fafb8289c
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}