on xenial help sign in
Fix the CMake for platform tests
commitf1f02794edc62cecda3ce5fa5ec7740677885800 authorPete Woods <pete.woods@canonical.com> dateFri 17 Mar 2017, 15:47 (10 years ago) parente0f94ec
1 file changed+4−4
tests/plugins/Unity/Platform/CMakeLists.txt+4−4
tests/plugins/Unity/Platform/CMakeLists.txt+4−4
@@ -12,7 +12,7 @@ add_executable(platformtest
1212 platformtest.cpp
1313 ${CMAKE_SOURCE_DIR}/plugins/Unity/Platform/platform.cpp
1414 )
15−
15+
1616target_link_libraries(platformtest
1717 Qt5::Core
1818 Qt5::DBus
@@ -20,6 +20,6 @@ target_link_libraries(platformtest
2020 ${QTDBUSTEST_LDFLAGS}
2121 )
2222
23−add_unity8_unittest(platformtest qdbus-simple-test-runner
24− ARGS "${CMAKE_BINARY_DIR}/platformtest"
25− )
23+add_unity8_unittest(Platform qdbus-simple-test-runner
24+ ARGS "${CMAKE_CURRENT_BINARY_DIR}/platformtest"
25+ )