diff options
Diffstat (limited to 'crop-tool/CMakeLists.txt')
| -rw-r--r-- | crop-tool/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crop-tool/CMakeLists.txt b/crop-tool/CMakeLists.txt index 7c7c0226..42aeac2c 100644 --- a/crop-tool/CMakeLists.txt +++ b/crop-tool/CMakeLists.txt @@ -1,9 +1,10 @@ find_package(OpenCV QUIET REQUIRED COMPONENTS core imgcodecs imgproc) set(self "${PROJECT_NAME}-crop-tool") -file(GLOB sources "*.cpp" CONFIGURE_ARGS) +include_directories(SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS}) +link_libraries(Corrade::Utility) +link_libraries(game-anim) + +file(GLOB sources "*.cpp" CONFIGURE_ARGS) add_executable(${self} ${sources}) -target_include_directories(${self} SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS}) -target_link_libraries(${self} Corrade::Utility) -target_link_libraries(${self} game-anim) install(TARGETS ${self} RUNTIME DESTINATION "bin") |
