Modify tests path

This commit is contained in:
antao 2018-11-27 18:29:23 +08:00
parent ca5085c503
commit 20f97a78a2
14 changed files with 2 additions and 2 deletions

View File

@ -130,12 +130,12 @@ file(APPEND "${CONFIG_HEADER}" "\";\n")
EXEC_PROGRAM(${PROJECT_SOURCE_DIR}/update_config.sh ARGS "${CONFIG_HEADER} ${PROJECT_SOURCE_DIR}/lib/inc/drogon/config.h")
if (MAKETEST STREQUAL YES)
ADD_SUBDIRECTORY(tests)
ADD_SUBDIRECTORY(lib/tests)
if(PostgreSQL_FOUND)
add_subdirectory(${PROJECT_SOURCE_DIR}/orm_lib/src/postgresql_impl/test)
endif()
if(USE_ORM)
add_subdirectory(${PROJECT_SOURCE_DIR}/orm_lib/src/tests)
add_subdirectory(${PROJECT_SOURCE_DIR}/orm_lib/tests)
endif()
endif ()