I have a CMake file that works everywhere I\'ve tried it except on a virtual machine.
I tried making a minimal example:
include(CheckSymbolExists) CHEC