equal
deleted
inserted
replaced
80 |
80 |
81 if(BUILD_ENGINE_LIBRARY) |
81 if(BUILD_ENGINE_LIBRARY) |
82 message(STATUS "Engine will be built as library (experimental)") |
82 message(STATUS "Engine will be built as library (experimental)") |
83 set(hwengine_project ${hedgewars_SOURCE_DIR}/hedgewars/hwLibrary.pas) |
83 set(hwengine_project ${hedgewars_SOURCE_DIR}/hedgewars/hwLibrary.pas) |
84 set(engine_sources ${hwengine_project} PascalExports.pas ${engine_sources}) |
84 set(engine_sources ${hwengine_project} PascalExports.pas ${engine_sources}) |
85 set(pascal_compiler_flags_cmn "-dHWLIBRARY" "-k-no_order_inits" ${pascal_compiler_flags_cmn}) |
85 set(pascal_compiler_flags_cmn "-dHWLIBRARY" "-k-no_order_inits" "-fPIC" ${pascal_compiler_flags_cmn}) |
86 endif(BUILD_ENGINE_LIBRARY) |
86 endif(BUILD_ENGINE_LIBRARY) |
87 |
87 |
88 |
88 |
89 find_program(fpc_executable ${fpc_tryexe}) |
89 find_program(fpc_executable ${fpc_tryexe}) |
90 |
90 |