CMAKE_SIZEOF_VOID_P — CMake 3.3.2 Documentation

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-variables(7) »

# CMAKE_SIZEOF_VOID_P

Size of a void pointer.

This is set to the size of a pointer on the target machine, and is determined by a try compile. If a 64 bit size is found, then the library search path is modified to look for 64 bit libraries first.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-variables(7) »