diff -r 6b5da1a2765a -r bd51bbf06033 hedgewars/CMakeLists.txt --- a/hedgewars/CMakeLists.txt Mon Jun 29 23:03:25 2009 +0000 +++ b/hedgewars/CMakeLists.txt Tue Jun 30 12:31:32 2009 +0000 @@ -107,6 +107,10 @@ message(FATAL_ERROR "No Pascal compiler found!") endif (NOT pascal_compiler) +#special handling of MSVC compiler (no static linking) +if(MSVC) + set(pascal_compiler_flags "-dMSVC" ${pascal_compiler_flags}) +endif(MSVC) IF(NOT APPLE OR NOT universal_build MATCHES "1") #here is the standard command for any system