Drop use of RunCMake_TEST_FILE and pass the test file in through a definition in RunCMake_TEST_OPTIONS.
Setting include directories or compile definitions on a target created with add_custom_target does not make sense.