diff --git a/CMakeLists.txt b/CMakeLists.txt index c333924..f3d00fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,28 +52,6 @@ find_package(ZLIB REQUIRED) include_directories(${ZLIB_INCLUDE_DIR}) link_libraries(${ZLIB_LIBRARIES}) -#find postgres -find_package(PostgreSQL) -if(PostgreSQL_FOUND) -include_directories(${PostgreSQL_INCLUDE_DIR}) -link_libraries(${PostgreSQL_LIBRARIES}) -endif() - -#Find mysql, only mariadb client liberary is supported -find_package(MySQL) -if(MYSQL_FOUND) - message(STATUS "inc:" ${MYSQL_INCLUDE_DIR}) - message(STATUS "libs:" ${MYSQL_CLIENT_LIBS}) - message(STATUS "version:" ${MYSQL_VERSION_STRING}) - if(MYSQL_VERSION_STRING STREQUAL "") - message(STATUS "The mysql in your system is not the mariadb, so we can't use it in drogon") - else() - message(STATUS "Ok! We find the mariadb!") - include_directories(${MYSQL_INCLUDE_DIR}) - link_libraries(${MYSQL_CLIENT_LIBS}) - endif() -endif() - #Find sqlite3. find_package (SQLite3) if (SQLITE3_FOUND)