# CMake Error: Imported target 'Boost::filesystem' includes non-existent path '/usr/local/include/boost_1_82'

- **ID:** `cmake/imported-target-missing-interface-include-dirs`
- **Domain:** cmake
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 85%

## Root Cause

An imported target's INTERFACE_INCLUDE_DIRECTORIES property references a directory that no longer exists, often due to a moved or removed Boost installation.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| CMake 3.26 | active | — | — |
| CMake 3.27 | active | — | — |
| Boost 1.82 | active | — | — |
| Boost 1.84 | active | — | — |

## Workarounds

1. **Delete CMakeCache.txt and rebuild from scratch to refresh imported target properties** (90% success)
   ```
   Delete CMakeCache.txt and rebuild from scratch to refresh imported target properties
   ```
2. **Set the missing path to an existing dummy directory using target_include_directories on the imported target** (70% success)
   ```
   Set the missing path to an existing dummy directory using target_include_directories on the imported target
   ```
3. **Reinstall Boost to the original location or symlink the missing directory** (85% success)
   ```
   Reinstall Boost to the original location or symlink the missing directory
   ```

## Dead Ends

- **Manually delete the Boost CMake config files and reinstall** — The config files may be cached; deletion without clearing CMake cache leads to stale references. (40% fail)
- **Set BOOST_ROOT to a new path without updating the imported target** — BOOST_ROOT only affects find_package; the imported target's properties are cached after first configuration. (60% fail)
- **Use add_definitions(-DBOOST_ALL_NO_LIB) to bypass library checks** — This only disables auto-linking, not the include directory validation. (80% fail)
