Closed Euraxluo closed 1 year ago
Sry, this is not related to libOpenDRIVE, this is either an issue with your CMake or accessing GitHub
I should be how to integrate into my project
FetchContent_Declare(OpenDrive URL https://github.com/grepthat/libOpenDRIVE/archive/refs/tags/0.3.0.tar.gz
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/libOpenDRIVE)
FetchContent_MakeAvailable(OpenDrive)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/libOpenDRIVE)
set(OpenDRIVE_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/libOpenDRIVE/include")
set(OpenDRIVE_THIRDPARTY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/libOpenDRIVE/thirdparty")
include_directories(SYSTEM ${OpenDRIVE_INCLUDE_DIR})
include_directories(SYSTEM ${OpenDRIVE_THIRDPARTY_DIR})
endif ()