Skip to content

Commit 0ee5b92

Browse files
committed
update cmake builds
1 parent f5bfdf4 commit 0ee5b92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project(Potree)
44

55
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
66

7-
find_package(LibLAS REQUIRED)
7+
#find_package(LASzip REQUIRED)
88
find_package(Boost COMPONENTS system thread filesystem program_options regex REQUIRED)
99

1010
if(UNIX)

PotreeConverter/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set(RAPIDJSON_INCLUDE_DIR lib/rapidjson/include)
55
file(GLOB_RECURSE files src/*.cpp include/*.h include/*.hpp )
66
file(GLOB_RECURSE lib_rapidjson_files ${RAPIDJSON_INCLUDE_DIR}/* )
77

8-
include_directories(include ${LIBLAS_INCLUDE_DIR} ${Boost_INCLUDE_DIRS})
8+
include_directories(include ${LASZIP_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
99
include_directories(include ${RAPIDJSON_INCLUDE_DIR})
1010

1111
SOURCE_GROUP("Header Files\\io" FILES
@@ -33,6 +33,6 @@ SOURCE_GROUP("lib\\rapidjson" FILES ${lib_rapidjson_files})
3333

3434
add_executable(PotreeConverter ${files} ${lib_rapidjson_files})
3535

36-
target_link_libraries(PotreeConverter ${LIBLAS_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_THREAD_LIBRARY} ${Boost_REGEX_LIBRARY} ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY})
36+
target_link_libraries(PotreeConverter ${LASZIP_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_THREAD_LIBRARY} ${Boost_REGEX_LIBRARY} ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY})
3737

3838
install(TARGETS PotreeConverter RUNTIME DESTINATION bin/ )

0 commit comments

Comments
 (0)