Skip to content

Commit 2394069

Browse files
committed
make sure to set the third party latest file for the latest build
1 parent d146d23 commit 2394069

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cmake_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
sudo -E ./ci/setup_cmake.sh
162162
- name: Install Dependencies
163163
run: |
164-
cmake -S ./install/cmake -B ~/thirdparty-build -DCMAKE_CXX_STANDARD=$CXX_STANDARD -DCMAKE_INSTALL_PREFIX=$INSTALL_TEST_DIR
164+
cmake -S ./install/cmake -B ~/thirdparty-build -DCMAKE_CXX_STANDARD=$CXX_STANDARD -DCMAKE_INSTALL_PREFIX=$INSTALL_TEST_DIR -DOTELCPP_THIRDPARTY_FILE=third_party_latest
165165
cd ~/thirdparty-build
166166
sudo -E make -j$(nproc)
167167
- name: Run Tests (static libs)

cmake/version.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if(OPENTELEMETRY_CPP_HEADER_VERSION_H MATCHES
1414
else()
1515
message(
1616
FATAL_ERROR
17-
"OPENTELEMETRY_VERSION not found on ${CMAKE_CURRENT_LIST_DIR}/api/include/opentelemetry/version.h"
17+
"OPENTELEMETRY_VERSION not found on ${CMAKE_CURRENT_LIST_DIR}/../api/include/opentelemetry/version.h"
1818
)
1919
endif()
2020

0 commit comments

Comments
 (0)