summaryrefslogtreecommitdiffhomepage
path: root/big-atlas-tool/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-01 02:14:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-01 02:14:39 +0200
commit509ecb59ef4de77e8d5e53014fd52fdcf0919d88 (patch)
treea267a829a3ad928e1af0f9fac2753a9bb1286d7d /big-atlas-tool/CMakeLists.txt
parent5ee36284ab2f2d85679f83ad7680a741bf7f6702 (diff)
.
Diffstat (limited to 'big-atlas-tool/CMakeLists.txt')
-rw-r--r--big-atlas-tool/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/big-atlas-tool/CMakeLists.txt b/big-atlas-tool/CMakeLists.txt
new file mode 100644
index 00000000..15b8e73f
--- /dev/null
+++ b/big-atlas-tool/CMakeLists.txt
@@ -0,0 +1,10 @@
+find_package(OpenCV QUIET REQUIRED COMPONENTS core imgcodecs imgproc)
+set(self "${PROJECT_NAME}-big-atlas-tool")
+
+include_directories(SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS})
+link_libraries(Corrade::Utility)
+link_libraries(${PROJECT_NAME}-tile)
+
+file(GLOB sources "*.cpp" CONFIGURE_ARGS)
+add_executable(${self} ${sources})
+install(TARGETS ${self} RUNTIME DESTINATION "bin")