diff --git a/CMakeLists.txt b/CMakeLists.txt index 60e25c6..15d347c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 3.7) project(core VERSION 0.1.0 - LANGUAGES c) + LANGUAGES C) add_executable(core src/main.c) @@ -24,11 +24,6 @@ target_sources(core PRIVATE ${SRC_DIR} ${HANDLERS_SRC} ${HELPERS_SRC} ${MODELS_S target_include_directories(core PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include) target_include_directories(core PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/vendor) -add_custom_target(migrations - COMMAND ./compile_migrations.sh - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} -) - add_custom_target(migrations ALL COMMAND ./compile_migrations.sh WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}