This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ if(DEBUG)
4141 add_compile_definitions (ALLOW_ALL_CORS)
4242endif ()
4343
44+ if (NOT DEFINED NITRO_VERSION)
45+ set (NITRO_VERSION "default_version" )
46+ endif ()
47+
48+ add_compile_definitions (NITRO_VERSION="${NITRO_VERSION} " )
49+
4450add_subdirectory (llama.cpp)
4551add_executable (${PROJECT_NAME} main.cc)
4652
@@ -71,11 +77,10 @@ aux_source_directory(controllers CTL_SRC)
7177# aux_source_directory(filters FILTER_SRC) aux_source_directory(plugins
7278# PLUGIN_SRC) aux_source_directory(models MODEL_SRC)
7379
74- #drogon_create_views(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/views
75- # ${CMAKE_CURRENT_BINARY_DIR})
76- # use the following line to create views with namespaces.
7780# drogon_create_views(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/views
78- # ${CMAKE_CURRENT_BINARY_DIR} TRUE)
81+ # ${CMAKE_CURRENT_BINARY_DIR}) use the following line to create views with
82+ # namespaces. drogon_create_views(${PROJECT_NAME}
83+ # ${CMAKE_CURRENT_SOURCE_DIR}/views ${CMAKE_CURRENT_BINARY_DIR} TRUE)
7984
8085target_include_directories (${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} )
8186# ${CMAKE_CURRENT_SOURCE_DIR}/models)
You can’t perform that action at this time.
0 commit comments