Move the add_subdirectoy before the set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
Otherwise the binary is created in a dir ctest can't find it and fails to execute it
parent
d38c3af2
Please register or sign in to comment
Otherwise the binary is created in a dir ctest can't find it and fails to execute it