Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
yecq committed Jan 22, 2025
1 parent 63989e9 commit 49afe19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
if (APPLE)
cmake_minimum_required (VERSION 3.21)
else (APPLE)
cmake_minimum_required (VERSION 3.16)
endif (APPLE)
cmake_minimum_required (VERSION 3.13)

project (brainflow)

Expand Down
11 changes: 5 additions & 6 deletions src/board_controller/build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ if (BUILD_OYMOTION_SDK)
endif (BUILD_OYMOTION_SDK)

if (BUILD_SYNCHRONI_SDK)
include (${CMAKE_CURRENT_SOURCE_DIR}/third_party/synchroni/build.cmake)
if (ANDROID)

else ()
include (${CMAKE_CURRENT_SOURCE_DIR}/third_party/synchroni/build.cmake)
endif ()
endif (BUILD_SYNCHRONI_SDK)

if (BUILD_BLUETOOTH)
Expand All @@ -116,11 +120,6 @@ add_library (
${BOARD_CONTROLLER_SRC}
)

#if (ANDROID AND BUILD_BLE)
# target_compile_definitions (${BOARD_CONTROLLER_NAME} PRIVATE STATIC_SIMPLEBLE)
# target_link_libraries (${BOARD_CONTROLLER_NAME} PRIVATE simpleble-c)
#endif (ANDROID AND BUILD_BLE)

target_include_directories (
${BOARD_CONTROLLER_NAME} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/third_party/
Expand Down

0 comments on commit 49afe19

Please sign in to comment.