diff options
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/cli/commands.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cli/CMakeLists.txt b/src/cli/CMakeLists.txt index 38e5e13..2947a5b 100644 --- a/src/cli/CMakeLists.txt +++ b/src/cli/CMakeLists.txt @@ -12,6 +12,7 @@ set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) add_executable(${FRONTEND_NAME} ${CLI_SOURCES}) +target_compile_options(${FRONTEND_NAME} PUBLIC ${CFLAGS}) target_link_libraries(${FRONTEND_NAME} PRIVATE tvn) target_link_libraries(${FRONTEND_NAME} PRIVATE Threads::Threads) install(TARGETS ${FRONTEND_NAME}) diff --git a/src/cli/commands.c b/src/cli/commands.c index 4bac2f7..d206865 100644 --- a/src/cli/commands.c +++ b/src/cli/commands.c @@ -211,7 +211,7 @@ static int run(int c, char** v) goto run_cleanup; } - runOpenFortress(); + runOpenFortress(v+1, (size_t)(c-1)); run_cleanup: free(of_dir); |