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
This commit is contained in:
Schaich 2021-03-24 21:33:55 +09:00
parent 5a8e9a86ad
commit cfd43478eb

View File

@ -18,8 +18,6 @@ add_executable(zint_frontend ${zint_frontend_SRCS})
set_target_properties(zint_frontend PROPERTIES OUTPUT_NAME "zint") set_target_properties(zint_frontend PROPERTIES OUTPUT_NAME "zint")
add_dependencies(zint_frontend zint)
link_directories( "${CMAKE_BINARY_DIR}/backend" ) link_directories( "${CMAKE_BINARY_DIR}/backend" )
target_link_libraries(zint_frontend zint) target_link_libraries(zint_frontend zint)