Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-latest]
os: [macos-latest, ubuntu-24.04, ubuntu-22.04]

steps:
- uses: actions/checkout@v2

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=OFF -DOpenIGTLink_USE_VP9=ON -DBUILD_TESTING=ON
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=OFF -DOpenIGTLink_USE_VP9=OFF -DBUILD_TESTING=ON

- name: Build
# Build your program with the given configuration
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/SuperBuildTest -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=ON -DOpenIGTLink_USE_VP9=ON -DBUILD_TESTING=ON
run: cmake -B ${{github.workspace}}/SuperBuildTest -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DOpenIGTLink_PROTOCOL_VERSION_3=ON -DOpenIGTLink_SUPERBUILD=ON -DOpenIGTLink_USE_VP9=OFF -DBUILD_TESTING=ON

- name: Build
# Build your program with the given configuration
Expand Down
1 change: 0 additions & 1 deletion OpenIGTLinkConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ SET(OpenIGTLink_LIBRARIES OpenIGTLink)

# The OpenIGTLink library targets.
SET(OpenIGTLink_LIBRARY_TARGETS_FILE "@OpenIGTLink_LIBRARY_TARGETS_FILE@")
include(${OpenIGTLink_LIBRARY_TARGETS_FILE})
3 changes: 1 addition & 2 deletions Testing/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
PROJECT( OpenIGTLinkTesting )

cmake_minimum_required(VERSION 2.8.11)
cmake_minimum_required(VERSION 3.5)
find_package(OpenIGTLink REQUIRED)
include(${OpenIGTLink_USE_FILE})
include_directories(${OpenIGTLink_INCLUDE_DIRS})
link_directories(${OpenIGTLink_LIBRARY_DIRS})
include_directories(${PROJECT_BINARY_DIR})
Expand Down