hedgewars/CMakeLists.txt
branchwebgl
changeset 9160 fc46e75f6b72
parent 9130 4f4b71da3559
parent 9151 1d2df388fcc6
child 9236 ddd675825672
equal deleted inserted replaced
9136:78f087fd3e5b 9160:fc46e75f6b72
   101     adler32.pas
   101     adler32.pas
   102     ${CMAKE_CURRENT_BINARY_DIR}/config.inc
   102     ${CMAKE_CURRENT_BINARY_DIR}/config.inc
   103     )
   103     )
   104 
   104 
   105 if(${LIBENGINE})
   105 if(${LIBENGINE})
   106     message(${WARNING} "Engine will be built as library (experimental)")
   106     message("*** Engine will be built as library (experimental) ***")
   107     list(APPEND pascal_flags "-dHWLIBRARY")
   107     list(APPEND pascal_flags "-dHWLIBRARY")
   108 
   108 
   109     # create position independent code, only required for x68_64 builds, similar to -fPIC
   109     # create position independent code, only required for x68_64 builds, similar to -fPIC
   110     if(CMAKE_SIZEOF_VOID_P MATCHES "8")
   110     if(CMAKE_SIZEOF_VOID_P MATCHES "8")
   111         list(APPEND pascal_flags "-Cg")
   111         list(APPEND pascal_flags "-Cg")