Skip to content

Commit b2cf328

Browse files
committed
Migrate to target-based enforcement approach
- Update opendaq-cmake-utils to v1.0.1 including target-based enforcement - Allow ANCIENT non-target-based CMake mode for external dependencies
1 parent 83d0aab commit b2cf328

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

cmake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ include(FetchContent)
88
FetchContent_Declare(
99
opendaq-cmake-utils
1010
GIT_REPOSITORY https://github.com/openDAQ/opendaq-cmake-utils.git
11-
GIT_TAG v1.0.0
11+
GIT_TAG v1.0.1
1212
GIT_PROGRESS ON
1313
)
1414
FetchContent_MakeAvailable(opendaq-cmake-utils)

external/streaming_protocol/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ opendaq_dependency(
1010
NAME streaming_protocol
1111
REQUIRED_VERSION 1.2.8
1212
GIT_REPOSITORY https://github.com/openDAQ/streaming-protocol-lt.git
13-
GIT_REF v1.2.8-dev
13+
# GIT_REF v1.2.8-dev
14+
GIT_REF jira/TBBAS-3121-apply-opendaq-cmake-utils
1415
EXPECT_TARGET daq::streaming_protocol
16+
# PATCH_FILES
17+
# ${CMAKE_CURRENT_SOURCE_DIR}/patches/streaming-protocol-fix-modern-cmake.patch
1518
)

opendaq_ref

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
main
1+
jira/TBBAS-3072-fix-modern-cmake-mode

0 commit comments

Comments
 (0)