Skip to content
Permalink
Browse files

fix builds

  • Loading branch information
PeterPetrik authored and nyalldawson committed Oct 26, 2020
1 parent 8c256c5 commit d0721c5a7edc7bb0e1447f9422d780ba75397957
Showing with 5 additions and 2 deletions.
  1. +3 −0 CMakeLists.txt
  2. +2 −2 src/core/CMakeLists.txt
@@ -351,9 +351,12 @@ IF(WITH_CORE)
MESSAGE(STATUS "Found zlib: ${ZLIB_LIBRARIES}")

FIND_PACKAGE(ZSTD) # for decompression of point clouds
SET(HAVE_ZSTD FALSE)
IF (ZSTD_FOUND)
SET(HAVE_ZSTD TRUE) # used in qgsconfig.h
ENDIF (ZSTD_FOUND)

SET(HAVE_LAZPERF FALSE)
FIND_PACKAGE(LazPerf) # for decompression of point clouds
IF (LazPerf_FOUND)
SET(HAVE_LAZPERF TRUE) # used in qgsconfig.h
@@ -1629,11 +1629,11 @@ IF (HAVE_ZSTD)
)
ENDIF (HAVE_ZSTD)

IF (HAVE_LazPerf)
IF (HAVE_LAZPERF)
INCLUDE_DIRECTORIES(SYSTEM
${LazPerf_INCLUDE_DIR}
)
ENDIF (HAVE_LazPerf)
ENDIF (HAVE_LAZPERF)

IF (HAVE_OPENCL)
SET(QGIS_CORE_SRCS ${QGIS_CORE_SRCS}

0 comments on commit d0721c5

Please sign in to comment.
You can’t perform that action at this time.