mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
rename dbus server executable to avoid attempt to replace dir with the output
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
73efe686e4
commit
95814e1543
2 changed files with 4 additions and 4 deletions
|
@ -7,10 +7,10 @@ if(WITH_DBUS AND DBUS_FOUND)
|
|||
target_link_libraries(tst_qdbusperformance KtDBus)
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
add_executable(server
|
||||
add_executable(performance_server
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/server/server.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/serverobject.h
|
||||
)
|
||||
|
||||
target_link_libraries(server KtDBus)
|
||||
target_link_libraries(performance_server KtDBus)
|
||||
endif()
|
|
@ -89,9 +89,9 @@ void tst_QDBusPerformance::initTestCase()
|
|||
&QTestEventLoop::instance(), SLOT(exitLoop()));
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
proc.start("server");
|
||||
proc.start("performance_server");
|
||||
#else
|
||||
proc.start("./server");
|
||||
proc.start("./performance_server");
|
||||
#endif
|
||||
QVERIFY(proc.waitForStarted());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue