diff options
Diffstat (limited to 'anim-crop-tool')
-rw-r--r-- | anim-crop-tool/CMakeLists.txt | 7 | ||||
-rw-r--r-- | anim-crop-tool/dummy.cc | 0 |
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 |