upload
This commit is contained in:
18
examples/find_package_smoke/CMakeLists.txt
Normal file
18
examples/find_package_smoke/CMakeLists.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
# Project DOC LAP, khong phai subdirectory cua vslam_cpp.
|
||||
#
|
||||
# Ly do ton tai: chung minh rang `find_package(vslam_common)` thuc su chay --
|
||||
# dieu ma README cua ca obstacle_detection_core lan xloc_cpp deu hua nhung
|
||||
# khong lam duoc, vi ca hai chi cai <name>Targets.cmake ma khong cai
|
||||
# <name>Config.cmake.
|
||||
#
|
||||
# Day la tieu chi nghiem thu cua P0, khong phai vi du cho vui.
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(find_package_smoke LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(vslam_common REQUIRED)
|
||||
|
||||
add_executable(find_package_smoke main.cc)
|
||||
target_link_libraries(find_package_smoke PRIVATE vslam::vslam_common)
|
||||
Reference in New Issue
Block a user