Skip to content

Commit 23fca2e

Browse files
committed
latest fetchcontent artifact
confirmed working nicely on windows
1 parent 9be7849 commit 23fca2e

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

CMakeLists.txt

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
cmake_minimum_required(VERSION 3.16...3.27)
2-
3-
project(rerun_external_cpp_proj LANGUAGES CXX)
4-
5-
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
6-
7-
if(NOT DEFINED CMAKE_CXX_STANDARD)
8-
set(CMAKE_CXX_STANDARD 17)
9-
endif()
10-
11-
include(FetchContent)
12-
FetchContent_Declare(rerun_sdk URL https://build.rerun.io/commit/bc05d11/rerun_cpp_sdk.zip) # 2023-10-26
13-
FetchContent_MakeAvailable(rerun_sdk)
14-
15-
find_package(Eigen3 REQUIRED)
16-
find_package(OpenCV REQUIRED)
17-
18-
add_executable(rerun_ext_example src/main.cpp)
19-
20-
target_link_libraries(rerun_ext_example Eigen3::Eigen ${OpenCV_LIBS} rerun_sdk)
1+
cmake_minimum_required(VERSION 3.16...3.27)
2+
3+
project(rerun_external_cpp_proj LANGUAGES CXX)
4+
5+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
6+
7+
if(NOT DEFINED CMAKE_CXX_STANDARD)
8+
set(CMAKE_CXX_STANDARD 17)
9+
endif()
10+
11+
include(FetchContent)
12+
FetchContent_Declare(rerun_sdk URL https://build.rerun.io/commit/b7f404a/rerun_cpp_sdk.zip) # 2023-10-29
13+
FetchContent_MakeAvailable(rerun_sdk)
14+
15+
find_package(Eigen3 REQUIRED)
16+
find_package(OpenCV REQUIRED)
17+
18+
add_executable(rerun_ext_example src/main.cpp)
19+
20+
target_link_libraries(rerun_ext_example Eigen3::Eigen ${OpenCV_LIBS} rerun_sdk)

0 commit comments

Comments
 (0)