Skip to content

Commit

Permalink
Merge pull request #115 from PDAL/pdal_defines
Browse files Browse the repository at this point in the history
pdal_defines.h is added from PROJECT_BINARY_DIR and installed (#108)
  • Loading branch information
hobu committed Jan 29, 2013
2 parents 4853c36 + dec57b1 commit b2b4ede
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ set(PDAL_CONFIG_HPP
${PDAL_HEADERS_DIR}/pdal_export.hpp
${PDAL_HEADERS_DIR}/pdal_internal.hpp
${PDAL_HEADERS_DIR}/pdal_config.hpp
${PDAL_HEADERS_DIR}/pdal_defines.h
${PROJECT_BINARY_DIR}/include/pdal/pdal_defines.h
)

set (PDAL_CONFIG_CPP
Expand Down Expand Up @@ -728,3 +728,6 @@ install(TARGETS ${PDAL_LIB_NAME} ${PDAL_C_LIB_NAME} ${PDAL_CSV_WRITER_NAME}
install(DIRECTORY ${PDAL_HEADERS_DIR}
DESTINATION ${PDAL_INCLUDE_DIR}
FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp")

install(FILES "${PROJECT_BINARY_DIR}/include/pdal/pdal_defines.h"
DESTINATION "${PDAL_INCLUDE_DIR}/pdal")

0 comments on commit b2b4ede

Please sign in to comment.