Skip to content

Commit b9701d4

Browse files
authored
Pin openDAQ ref (#5)
- Pin openDAQ ref to a target-based CMake enforcement commit - Wrap external dependencies with ANCIENT mode for compatibility with target-based CMake enforcement - Replace lib with bin DLL search path for Windows
1 parent 4336b3c commit b9701d4

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
8787
- name: Add DLL path (Windows only)
8888
if: matrix.os == 'windows-latest'
89-
run: echo "${{ env.INSTALL_PREFIX }}/lib" >> $env:GITHUB_PATH
89+
run: echo "${{ env.INSTALL_PREFIX }}/bin" >> $env:GITHUB_PATH
9090

9191
- name: Configure project with CMake
9292
working-directory: module

external/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
opendaq_get_cmake_mode(_LT_STREAMING_CMAKE_MODERN_MODE_SAVED)
2+
opendaq_set_cmake_mode(ANCIENT)
13
set(CMAKE_FOLDER external)
24
list(APPEND CMAKE_MESSAGE_CONTEXT external)
35

@@ -9,3 +11,4 @@ endif()
911

1012
add_subdirectory(ws-streaming EXCLUDE_FROM_ALL)
1113

14+
opendaq_set_cmake_mode(${_LT_STREAMING_CMAKE_MODERN_MODE_SAVED})

opendaq_ref

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
main
1+
4757349a1db30721bead0cb695ec3a147913aef4

0 commit comments

Comments
 (0)