mirror of https://github.com/CGAL/cgal
Add definition CGAL_LINKED_WITH_LASLIB
This commit is contained in:
parent
952c5a4984
commit
f4fea04a4d
|
|
@ -28,5 +28,6 @@ find_library(LASLIB_LIBRARIES
|
||||||
|
|
||||||
if(LASLIB_LIBRARIES)
|
if(LASLIB_LIBRARIES)
|
||||||
set(LASLIB_FOUND TRUE)
|
set(LASLIB_FOUND TRUE)
|
||||||
|
set(LASLIB_USE_FILE "UseLASLIB")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
# This module setups the compiler for using LASlib library.
|
||||||
|
# It assumes that find_package(LASLIB) was already called.
|
||||||
|
|
||||||
|
add_definitions(-DCGAL_LINKED_WITH_LASLIB)
|
||||||
|
|
@ -85,6 +85,7 @@ if ( CGAL_FOUND )
|
||||||
|
|
||||||
find_package(LASLIB)
|
find_package(LASLIB)
|
||||||
if (LASLIB_FOUND)
|
if (LASLIB_FOUND)
|
||||||
|
include(${LASLIB_USE_FILE})
|
||||||
include_directories(${LASLIB_INCLUDE_DIR})
|
include_directories(${LASLIB_INCLUDE_DIR})
|
||||||
include_directories(${LASZIP_INCLUDE_DIR})
|
include_directories(${LASZIP_INCLUDE_DIR})
|
||||||
create_single_source_cgal_program( "read_las_example.cpp" )
|
create_single_source_cgal_program( "read_las_example.cpp" )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue