diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2c60baf..2d86709 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -25,5 +25,6 @@ If ( __COTIRE_INCLUDED ) Cotire ( test_cppamqp ) EndIf ( ) If ( __CMAKE_TESTS_INCLUDED ) - Add_CMake_Test ( cppamqp test_cppamqp ) + Add_CMake_Test ( NAME cppamqp + TARGET test_cppamqp ) EndIf ( )