Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LidarView
LidarView-Superbuild
Commits
ccced5b4
Commit
ccced5b4
authored
Nov 07, 2016
by
Bastien Jacquet
Browse files
Switch to self-maintained libLAS fork
parent
e5ecbdf3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Projects/liblas.cmake
View file @
ccced5b4
add_external_project
(
liblas
DEPENDS boost
PATCH_COMMAND
git apply --whitespace=fix
${
SuperBuild_PROJECTS_DIR
}
/patches/liblas.uint64.boost.patch
CMAKE_ARGS
-DBUILD_SHARED_LIBS:BOOL=ON
)
Projects/patches/liblas.uint64.boost.patch
deleted
100644 → 0
View file @
e5ecbdf3
diff --git a/src/classification.cpp b/src/classification.cpp
index e492382..090eb63 100644
--- a/src/classification.cpp
+++ b/src/classification.cpp
@@ -106,7 +106,7 @@
uint8_t Classification::GetClass() const
{
bitset_type bits(m_flags);
- bitset_type const mask(static_cast<uint64_t>(class_table_size) - 1);
+ bitset_type const mask(static_cast<boost::uint64_t>(class_table_size) - 1);
bits &= mask;
uint32_t const index = static_cast<uint32_t>(bits.to_ulong());
@@ -120,7 +120,7 @@
void Classification::SetClass(uint32_t index)
{
check_class_index(index);
- bitset_type binval(static_cast<uint64_t>(index));
+ bitset_type binval(static_cast<boost::uint64_t>(index));
binval <<= 0;
// Store value in bits 0,1,2,3,4
versions.cmake
View file @
ccced5b4
...
...
@@ -67,5 +67,5 @@ add_revision(eigen
# GIT_REPOSITORY git://github.com/libLAS/libLAS
# GIT_TAG 6e8657336ba445fcec3c9e70c2ebcd2e25af40b9)
add_revision
(
liblas
GIT_REPOSITORY git://github.com/
mwoehlke-kitware
/libLAS.git
GIT_REPOSITORY git://github.com/
bastienjacquet
/libLAS.git
GIT_TAG fix-windows-stdint
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment