> After research, I find that I need to add a flag in cmake to avoid msvc to
> compile with "Treat wchar as built-in type" at YES .
> But I do not find the cmakeLists to put this command.
You'd do something like this in the appropriate CMakeLists.txt
if (MSVC)
set_target_properties(mytarget1 mytarget2 ...
PROPERTIES COMPILE_FLAGS "/Zc:wchar_t-")
endif()
Hope that helps,
-Geoff
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel