Index: codelite-9.0/sdk/databaselayer/CMakeLists.txt =================================================================== --- codelite-9.0/sdk/databaselayer/CMakeLists.txt +++ codelite-9.0/sdk/databaselayer/CMakeLists.txt 2016-01-03 19:24:40.011092934 +0100 @@ -60,7 +60,7 @@ # Define the output add_library(databaselayersqlite SHARED ${SRCS} ${MYSQL_SRCS}) -target_link_libraries(databaselayersqlite ${LINKER_OPTIONS} ${wxWidgets_LIBRARIES}) +target_link_libraries(databaselayersqlite ${LINKER_OPTIONS} ${wxWidgets_LIBRARIES} -lsqlite3) if(APPLE) install(TARGETS databaselayersqlite DESTINATION ${CMAKE_BINARY_DIR}/codelite.app/Contents/MacOS/)