equal
deleted
inserted
replaced
67 math(EXPR fpc_ver "${fpc_vers_major}*10000 + ${fpc_vers_minor}*100 + ${fpc_vers_patch}") |
67 math(EXPR fpc_ver "${fpc_vers_major}*10000 + ${fpc_vers_minor}*100 + ${fpc_vers_patch}") |
68 if (fpc_ver LESS "010904") |
68 if (fpc_ver LESS "010904") |
69 message("Minimum required version of FreePascal is 1.9.4") |
69 message("Minimum required version of FreePascal is 1.9.4") |
70 else (fpc_ver LESS "010904") |
70 else (fpc_ver LESS "010904") |
71 set(pascal_compiler ${fpc_executable}) |
71 set(pascal_compiler ${fpc_executable}) |
72 set(pascal_compiler_flags ${noexecstack_flags} "-B" "-FE../bin" "-Cs2000000" "-O2" ${hwengine_project}) |
72 set(pascal_compiler_flags ${noexecstack_flags} "-B" "-FE../bin" "-Cs2000000" "-vwi" "-O2" ${hwengine_project}) |
73 endif (fpc_ver LESS "010904") |
73 endif (fpc_ver LESS "010904") |
74 endif (fpc_version) |
74 endif (fpc_version) |
75 |
75 |
76 if (NOT pascal_compiler) |
76 if (NOT pascal_compiler) |
77 message(FATAL_ERROR "No Pascal compiler found!") |
77 message(FATAL_ERROR "No Pascal compiler found!") |