hedgewars/CMakeLists.txt
changeset 9151 1d2df388fcc6
parent 8932 e095e3023682
child 9160 fc46e75f6b72
child 9203 bcc25cb9b122
equal deleted inserted replaced
9150:79c58ff0d4b1 9151:1d2df388fcc6
   100     adler32.pas
   100     adler32.pas
   101     ${CMAKE_CURRENT_BINARY_DIR}/config.inc
   101     ${CMAKE_CURRENT_BINARY_DIR}/config.inc
   102     )
   102     )
   103 
   103 
   104 if(${BUILD_ENGINE_LIBRARY})
   104 if(${BUILD_ENGINE_LIBRARY})
   105     message(${WARNING} "Engine will be built as library (experimental)")
   105     message("*** Engine will be built as library (experimental) ***")
   106     list(APPEND pascal_flags "-dHWLIBRARY")
   106     list(APPEND pascal_flags "-dHWLIBRARY")
   107 
   107 
   108     # create position independent code, only required for x68_64 builds, similar to -fPIC
   108     # create position independent code, only required for x68_64 builds, similar to -fPIC
   109     if(CMAKE_SIZEOF_VOID_P MATCHES "8")
   109     if(CMAKE_SIZEOF_VOID_P MATCHES "8")
   110         list(APPEND pascal_flags "-Cg")
   110         list(APPEND pascal_flags "-Cg")