This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ if(DEBUG)
3939 add_compile_definitions (ALLOW_ALL_CORS)
4040endif ()
4141
42- if (NOT DEFINED CORTEX-CPP_VERSION )
43- set (CORTEX-CPP_VERSION "default_version" )
42+ if (NOT DEFINED CORTEX_CPP_VERSION )
43+ set (CORTEX_CPP_VERSION "default_version" )
4444endif ()
4545
4646if (APPLE )
@@ -54,7 +54,7 @@ if(APPLE)
5454 endif ()
5555endif ()
5656
57- add_compile_definitions (CORTEX-CPP_VERSION ="${CORTEX-CPP_VERSION }" )
57+ add_compile_definitions (CORTEX_CPP_VERSION ="${CORTEX_CPP_VERSION } " )
5858
5959add_subdirectory (test )
6060
Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ int main(int argc, char *argv[]) {
4646 int logical_cores = std::thread::hardware_concurrency ();
4747 int drogon_thread_num = std::max (thread_num, logical_cores);
4848 cortex_utils::nitro_logo ();
49- #ifdef CORTEX-CPP_VERSION
50- LOG_INFO << " cortex-cpp version: " << CORTEX-CPP_VERSION ;
49+ #ifdef CORTEX_CPP_VERSION
50+ LOG_INFO << " cortex-cpp version: " << CORTEX_CPP_VERSION ;
5151#else
5252 LOG_INFO << " cortex-cpp version: undefined" ;
5353#endif
You can’t perform that action at this time.
0 commit comments