equal
deleted
inserted
replaced
1 find_package(SDL REQUIRED) |
1 find_package(SDL REQUIRED) |
2 find_package(SDL_net REQUIRED) |
2 find_package(SDL_net REQUIRED) |
|
3 find_package(ZLIB REQUIRED) |
3 |
4 |
4 add_definitions("-std=c99") |
5 add_definitions("-std=c99") |
5 |
6 |
6 file(GLOB frontlib_src |
7 file(GLOB frontlib_src |
7 *.c *.h |
8 *.c *.h |
13 util/*.c util/*.h |
14 util/*.c util/*.h |
14 ) |
15 ) |
15 |
16 |
16 include_directories(${SDL_INCLUDE_DIR}) |
17 include_directories(${SDL_INCLUDE_DIR}) |
17 include_directories(${SDLNET_INCLUDE_DIR}) |
18 include_directories(${SDLNET_INCLUDE_DIR}) |
|
19 include_directories(${ZLIB_INCLUDE_DIR}) |
18 |
20 |
19 add_library(frontlib STATIC ${frontlib_src}) |
21 add_library(frontlib STATIC ${frontlib_src}) |