Add finding required libraray to CMakeLists.txt