hedgewars/CMakeLists.txt
changeset 3510 23145a950eae
parent 3495 a6b4f351d400
child 3528 0ad90165fde0
--- a/hedgewars/CMakeLists.txt	Wed Jun 16 21:14:23 2010 +0200
+++ b/hedgewars/CMakeLists.txt	Thu Jun 17 16:28:42 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)