code: update server cmake

isolation_bkp/dynres
Dominik Madarász 2021-01-14 17:46:43 +01:00
parent 659cbe700f
commit 1f6947ca0e
2 changed files with 6 additions and 2 deletions

View File

@ -15,4 +15,9 @@ add_executable(eco2d-server
)
include_directories(eco2d-server header)
target_link_libraries(eco2d-server raylib)
if (WIN32)
target_link_libraries(eco2d-server winmm)
elseif (UNIX)
target_link_libraries(eco2d-server pthread m dl)
endif()

View File

@ -11,7 +11,6 @@ typedef enum {
uint8_t blocks_find(uint32_t biome, uint32_t kind);
// persisting buffer
char *blocks_get_name(uint8_t id);
uint8_t blocks_get_tex_id(uint8_t id);
char blocks_get_symbol(uint8_t id);