[CMake] try_compile generates assertion failure in MSVC 2010

Dominik Szczerba dominik at itis.ethz.ch
Fri Feb 4 06:19:46 EST 2011


I use try_compile to configure my project and it works fine on linux.
On Windows I get a lovely assertion failure, when calling cmake from
VC command line:

(typos possible, typed from a popup window)

Debug Assertion Failed!
Program:
.............\cmTryCompileExec.exe
File:
f:\dd\vctools\crt_bld\self_64_amd64_crt\prebuild\tran\amd64\ieee.c
Line: 109

Expression: (mask&~(_MCW_DNI_MCW_EMI_MCW_RC))==0


Did anyone ever had this problem and found a way out?

Regards,
Dominik


More information about the CMake mailing list