fix: CMakeLists typos

This commit is contained in:
Tobias Reisinger 2020-06-17 01:04:12 +02:00
parent 0a3323cdad
commit 5b8d0b0275

View file

@ -1,7 +1,7 @@
cmake_minimum_required (VERSION 3.7) cmake_minimum_required (VERSION 3.7)
project(core project(core
VERSION 0.1.0 VERSION 0.1.0
LANGUAGES c) LANGUAGES C)
add_executable(core src/main.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}/include)
target_include_directories(core PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/vendor) 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 add_custom_target(migrations ALL
COMMAND ./compile_migrations.sh COMMAND ./compile_migrations.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}