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}
|
2024-04-11 13:37:33 +00:00
|
|
|
src/HeightMap.cpp src/CaseMap.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)
|