Skip to content

Commit

Permalink
fixed include error of generated header "ydlidar_config.h" in "Driver…
Browse files Browse the repository at this point in the history
…Interface.h. fixes YDLIDAR#58."
  • Loading branch information
hannesduske committed Dec 11, 2024
1 parent afbd189 commit e17a4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ ydlidar_add_library(${PROJECT_NAME} STATIC ${SDK_SOURCES} ${SDK_HEADERS} ${GENER
endif()

target_link_libraries(${PROJECT_NAME} ${SDK_LIBS})
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_BINARY_DIR})

#############################################################################################
#static library
Expand Down

0 comments on commit e17a4fc

Please sign in to comment.