I downloaded SFML using vcpkg, and I wanted to use SFML in CLion. So, in the CMake options I put:
-DCMAKE_TOOLCHAIN_FILE=C:\\vcpkg\\scripts\\buildsystems\\vcpkg.c