If ECM is around include the sanitizers module This way you can run cmake -DECM_ENABLE_SANITIZERS='address' and get an ASAN built poppler