Commit ccfdb60c authored by louiz’'s avatar louiz’

Fix a build when litesql is found but not botan

fix #3157
parent d58dcde8
......@@ -84,7 +84,10 @@ if(LITESQL_FOUND)
add_library(database STATIC src/database/database.cpp
${LITESQL_GENERATED_SOURCES})
target_link_libraries(database ${LITESQL_LIBRARIES} ${BOTAN_LIBRARIES})
target_link_libraries(database ${LITESQL_LIBRARIES})
if(BOTAN_FOUND)
target_link_libraries(database ${BOTAN_LIBRARIES})
endif()
set(USE_DATABASE TRUE)
endif()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment