cmake_minimum_required(VERSION 3.0) project(testdoors) set (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) find_package(SQLite3 REQUIRED) # add_subdirectory(MagiDoor) include_directories(${SQLITE3_INCLUDE_DIRS}) add_executable(dataplay dataplay.c) target_link_libraries(dataplay ${SQLITE3_LIBRARIES})