if("/path1" PATH_EQUAL "/path2") message("PATH_EQUAL recognized") endif()