contour-creator/CMakeLists.txt

15 lines
337 B
CMake
Raw Permalink Normal View History

2024-04-06 11:32:44 +00:00
project(
2024-04-06 15:48:12 +00:00
contour-creator
2024-04-17 08:55:02 +00:00
LANGUAGES CXX)
2024-03-29 16:12:42 +00:00
find_package(GDAL CONFIG REQUIRED)
2024-04-06 11:32:44 +00:00
add_executable(${PROJECT_NAME}
src/HeightMap.cpp src/CellMap.cpp src/main.cpp
2024-03-29 16:12:42 +00:00
)
2024-04-17 08:55:02 +00:00
find_package(OpenMP)
if(OpenMP_CXX_FOUND)
target_link_libraries(${PROJECT_NAME} PUBLIC OpenMP::OpenMP_CXX)
endif()
2024-03-29 16:12:42 +00:00
2024-04-06 11:32:44 +00:00
target_link_libraries(${PROJECT_NAME} GDAL::GDAL)