Skip to content

Commit

Permalink
fix: macos
Browse files Browse the repository at this point in the history
  • Loading branch information
vansangpfiev committed Sep 6, 2024
1 parent 00bc507 commit b5cbae4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ if(DEBUG)
add_compile_definitions(ALLOW_ALL_CORS)
endif()

if(CORTEX_CPP_VERSION)
add_compile_definitions(CORTEX_CPP_VERSION="${CORTEX_CPP_VERSION}")
if(NOT DEFINED CORTEX_CPP_VERSION)
set(CORTEX_CPP_VERSION "default_version")
endif()

if(APPLE)
Expand Down
4 changes: 1 addition & 3 deletions engine/commands/cortex_upd_cmd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
#include "nlohmann/json.hpp"
#include "services/download_service.h"
#include "utils/archive_utils.h"
#include "utils/file_manager_utils.h"
#include "utils/logging_utils.h"
#include "utils/system_info_utils.h"
#if defined(_WIN32) || defined(__linux__)
#include "utils/file_manager_utils.h"
#endif

namespace commands {

Expand Down

0 comments on commit b5cbae4

Please sign in to comment.