mirror of
https://gitlab.com/Trygve/contour-creator.git
synced 2024-12-28 08:40:17 +00:00
Added openMP
This commit is contained in:
parent
2ee2936cf1
commit
40d41fc065
@ -1,13 +1,15 @@
|
||||
project(
|
||||
contour-creator
|
||||
LANGUAGES CXX)
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
LANGUAGES CXX)
|
||||
|
||||
find_package(GDAL CONFIG REQUIRED)
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
src/HeightMap.cpp src/CaseMap.cpp src/main.cpp
|
||||
)
|
||||
|
||||
find_package(OpenMP)
|
||||
if(OpenMP_CXX_FOUND)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC OpenMP::OpenMP_CXX)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} GDAL::GDAL)
|
Loading…
Reference in New Issue
Block a user