From 51c7dd0ececb69f427b3d2a4f978211b01a9e9c3 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Wed, 7 Aug 2019 00:01:01 +0200 Subject: [PATCH] fix: remove not needed software checks --- CMakeLists.txt | 22 ---------------------- 1 file changed, 22 deletions(-) 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)