Commit d6cf4bf8 authored by Volker Krause's avatar Volker Krause
Browse files

Make sure gbfsprobe finds its input file when run via CMake

parent e1bb3ed0
...@@ -14,7 +14,7 @@ add_custom_target(run-otp-probe COMMAND otpprobe ${CMAKE_SOURCE_DIR}/src/lib/net ...@@ -14,7 +14,7 @@ add_custom_target(run-otp-probe COMMAND otpprobe ${CMAKE_SOURCE_DIR}/src/lib/net
add_executable(gbfsprobe gbfsprobe.cpp) add_executable(gbfsprobe gbfsprobe.cpp)
target_link_libraries(gbfsprobe Qt5::Network KPublicTransport) target_link_libraries(gbfsprobe Qt5::Network KPublicTransport)
add_custom_target(run-gbfs-probe COMMAND gbfsprobe ${CMAKE_SOURCE_DIR}/src/lib/gbfs/gbfs-feeds.json) add_custom_target(run-gbfs-probe COMMAND gbfsprobe ${CMAKE_SOURCE_DIR}/src/lib/gbfs/gbfs-feeds.json WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
if (TARGET PolyClipping::PolyClipping) if (TARGET PolyClipping::PolyClipping)
add_executable(transport-api-sync add_executable(transport-api-sync
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment