How to check Windows Genuine or Cracked ? (windows 10 genuine or not)
Add to your CheckIPO call:
You can print out to get the reason why it is not supported.
Usually, failing tests leave traces in the file within the CMake build directory.
Check the according entry to learn more why a test failed.
Finally, to answer your actual question how CheckIPOSupported work: Read the code!
You can find it online https://gitlab.kitware.com/cmake/cmake/blob/master/Modules/CheckIPOSupported.cmake
You can even add additional output statements in your local copy, if you have difficulties to understand every detail.
answered Dec 22 '17 at 20:03
13.3k99 gold badges7373 silver badges100100 bronze badges