Skip to content
Permalink
Browse files

Cleanup FindPDAL.cmake, add search path for Fedora

  • Loading branch information
nyalldawson committed Nov 5, 2020
1 parent 7717a20 commit c9bee4a64717850cd762814ffb14c7f414156549
Showing with 3 additions and 5 deletions.
  1. +3 −5 cmake/FindPDAL.cmake
@@ -17,28 +17,26 @@
# and then again with no specified paths to search the default
# locations. When an earlier FIND_* succeeds, subsequent FIND_*s
# searching for the same item do nothing.

FIND_PATH(PDAL_INCLUDE_DIR pdal.hpp
"$ENV{LIB_DIR}/include/"
"$ENV{LIB_DIR}/include"
"$ENV{LIB_DIR}/include/pdal"
"/usr/include/pdal"
c:/msys/local/include
NO_DEFAULT_PATH
)
FIND_PATH(PDAL_INCLUDE_DIR pdal.hpp)

FIND_LIBRARY(PDAL_CPP_LIBRARY NAMES pdalccpp libpdalcpp PATHS
"$ENV{LIB_DIR}/lib"
c:/msys/local/lib
NO_DEFAULT_PATH
)
FIND_LIBRARY(PDAL_CPP_LIBRARY NAMES pdalcpp libpdalcpp)

FIND_LIBRARY(PDAL_UTIL_LIBRARY NAMES pdal_util libpdal_util PATHS
"$ENV{LIB_DIR}/lib"
c:/msys/local/lib
NO_DEFAULT_PATH
)
FIND_LIBRARY(PDAL_UTIL_LIBRARY NAMES pdal_util libpdal_util)


IF (PDAL_INCLUDE_DIR AND PDAL_CPP_LIBRARY AND PDAL_UTIL_LIBRARY)
SET(PDAL_FOUND TRUE)

0 comments on commit c9bee4a

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