summaryrefslogtreecommitdiffhomepage
path: root/anim-crop-tool
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-02 11:07:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-02 13:11:04 +0100
commit93197c83cae3f3da5fb3f3ba55a7909336079a44 (patch)
treeaa2a386c6a1a5554779e8aa6fc7e689bac548306 /anim-crop-tool
parent9a0ac7c7fd06a60f0e61b88828eaa59c0ee30fdd (diff)
cmake: try to fix ci link error
Diffstat (limited to 'anim-crop-tool')
-rw-r--r--anim-crop-tool/CMakeLists.txt7
-rw-r--r--anim-crop-tool/dummy.cc0
2 files changed, 3 insertions, 4 deletions
diff --git a/anim-crop-tool/CMakeLists.txt b/anim-crop-tool/CMakeLists.txt
index 8321c0f2..91b3c1b0 100644
--- a/anim-crop-tool/CMakeLists.txt
+++ b/anim-crop-tool/CMakeLists.txt
@@ -2,16 +2,15 @@ find_package(OpenCV QUIET)
if(OpenCV_FOUND)
set(self "floormat-anim-crop-tool")
- include_directories(SYSTEM ${OpenCV_INCLUDE_DIRS})
+ include_directories(SYSTEM "${OpenCV_INCLUDE_DIRS}")
link_libraries(Corrade::Utility Magnum::Magnum)
link_libraries(opencv_imgproc opencv_imgcodecs opencv_core)
link_libraries(nlohmann_json::nlohmann_json)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)
- add_library(${self}_o STATIC "${sources}")
- add_executable(${self} dummy.cc)
- target_link_libraries(${self} PUBLIC ${self}_o floormat-serialize floormat)
+ add_executable(${self} "${sources}")
+ target_link_libraries(${self} PRIVATE floormat-serialize floormat)
install(TARGETS ${self} RUNTIME DESTINATION "bin")
endif()
diff --git a/anim-crop-tool/dummy.cc b/anim-crop-tool/dummy.cc
deleted file mode 100644
index e69de29b..00000000
--- a/anim-crop-tool/dummy.cc
+++ /dev/null