aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pdal/cmake-project-include.cmake
blob: 12f02677d9f679e5c410dd1c86a3505b9ad6dd8c (plain)
1
2
3
4
5
6
7
8
include(CheckIncludeFileCXX)

check_include_file_cxx("filesystem" HAVE_CXX17_FILESYSTEM)
if(NOT HAVE_CXX17_FILESYSTEM)
    message(FATAL_ERROR "Unable to find <filesystem> header. PDAL requires full C++17 compiler support.")
endif()

set_source_files_properties("${PROJECT_SOURCE_DIR}/io/OGRWriter.cpp" PROPERTIES COMPILE_DEFINITIONS NOMINMAX)