From cfd43478ebe686ea8c8a141a6b07fbed0d249389 Mon Sep 17 00:00:00 2001 From: Schaich Date: Wed, 24 Mar 2021 21:33:55 +0900 Subject: [PATCH] Remove the explicit dependency of the frontend against the library The dependency is implied by the target_link_library line. Manual dependencies are a workaround to force re-execution of external tools with intransparent side effects --- frontend/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/CMakeLists.txt b/frontend/CMakeLists.txt index d731ac9f..39fe5b38 100644 --- a/frontend/CMakeLists.txt +++ b/frontend/CMakeLists.txt @@ -18,8 +18,6 @@ add_executable(zint_frontend ${zint_frontend_SRCS}) set_target_properties(zint_frontend PROPERTIES OUTPUT_NAME "zint") -add_dependencies(zint_frontend zint) - link_directories( "${CMAKE_BINARY_DIR}/backend" ) target_link_libraries(zint_frontend zint)