hedgewars/CMakeLists.txt
changeset 3515 3e8635f43972
parent 3495 a6b4f351d400
child 3528 0ad90165fde0
--- a/hedgewars/CMakeLists.txt	Thu Jun 17 20:30:39 2010 +0200
+++ b/hedgewars/CMakeLists.txt	Thu Jun 17 20:37:49 2010 +0200
@@ -82,7 +82,7 @@
 	message(STATUS "Engine will be built as library (experimental)")
 	set(hwengine_project ${hedgewars_SOURCE_DIR}/hedgewars/hwLibrary.pas)
 	set(engine_sources ${hwengine_project} PascalExports.pas ${engine_sources})
-	set(pascal_compiler_flags_cmn "-dHWLIBRARY" "-k-no_order_inits" ${pascal_compiler_flags_cmn})
+	set(pascal_compiler_flags_cmn "-dHWLIBRARY" "-k-no_order_inits" "-fPIC" ${pascal_compiler_flags_cmn})
 endif(BUILD_ENGINE_LIBRARY)