Skip to content

Commit

Permalink
remove linking of GDAL library from 'pdal' application #2350
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jul 30, 2019
1 parent 37f95c5 commit 666d23b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ target_link_libraries(${PDAL_APP}
PRIVATE
${PDAL_BASE_LIB_NAME}
${PDAL_UTIL_LIB_NAME}
${GDAL_LIBRARY}
${WINSOCK_LIBRARY}
)
target_include_directories(${PDAL_APP} PRIVATE
${NLOHMANN_INCLUDE_DIR}
${PDAL_INCLUDE_DIR}
${GDAL_INCLUDE_DIR}
${PROJECT_BINARY_DIR}/include)

#------------------------------------------------------------------------------
Expand All @@ -44,7 +42,7 @@ endif(APPLE AND PDAL_BUNDLE)

set(PKGCONFIG_LIBRARY_DEFINITIONS "")
set(PDAL_INCLUDE_DEFINITIONS
"-I${CMAKE_INSTALL_PREFIX}/include -I${GDAL_INCLUDE_DIR}")
"-I${CMAKE_INSTALL_PREFIX}/include ")
set(PKGCONFIG_LIBRARY_DEFINITIONS "${PKGCONFIG_LIBRARY_DEFINITIONS} gdal")

if(LIBXML2_FOUND)
Expand Down

0 comments on commit 666d23b

Please sign in to comment.