hedgewars/CMakeLists.txt
changeset 3515 3e8635f43972
parent 3495 a6b4f351d400
child 3528 0ad90165fde0
equal deleted inserted replaced
3514:59dbd31e9953 3515:3e8635f43972
    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