mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 14:47:55 +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})
|