mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:39:00 +08:00
12 lines
439 B
Plaintext
12 lines
439 B
Plaintext
liblas provides CMake targets:
|
|
|
|
# C API
|
|
find_package(libLAS CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE $<$<PLATFORM_ID:Windows>:lib>las_c)
|
|
target_include_directories(main SYSTEM PRIVATE ${libLAS_INCLUDE_DIRS})
|
|
|
|
# C++ API
|
|
find_package(libLAS CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE $<$<PLATFORM_ID:Windows>:lib>las)
|
|
target_include_directories(main SYSTEM PRIVATE ${libLAS_INCLUDE_DIRS})
|