File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 if : runner.os == 'Linux'
6262 run : |
6363 sudo apt-get update
64- sudo apt-get install -y libgl1-mesa-dev libxkbcommon-dev libxcb-cursor0
64+ sudo apt-get install -y libgl1-mesa-dev libxkbcommon-dev libxcb-cursor0 \
65+ libudev-dev libusb-1.0-0-dev
6566
6667 - name : Install Qt
6768 uses : jurplel/install-qt-action@v4
Original file line number Diff line number Diff line change @@ -80,11 +80,16 @@ if(EMOTIVLSL_BUILD_EMOTIV)
8080 FetchContent_Declare (
8181 hidapi
8282 GIT_REPOSITORY https://github.com/libusb/hidapi.git
83- GIT_TAG hidapi-0.14 .0
83+ GIT_TAG hidapi-0.15 .0
8484 GIT_SHALLOW ON
8585 EXCLUDE_FROM_ALL
8686 )
87+ # hidapi uses cmake_minimum_required(VERSION 3.1.3), which CMake 3.31+
88+ # no longer supports (compatibility with < 3.5 was removed). Setting
89+ # CMAKE_POLICY_VERSION_MINIMUM suppresses the error for sub-projects.
90+ set (CMAKE_POLICY_VERSION_MINIMUM "3.5" )
8791 FetchContent_MakeAvailable (hidapi)
92+ unset (CMAKE_POLICY_VERSION_MINIMUM)
8893
8994 # tiny-AES-c (ECB decryption for Emotiv data stream)
9095 # We only need the source files, not a built library, so we use SOURCE_DIR-only population.
You can’t perform that action at this time.
0 commit comments