Start separating rendering | Update CMakeLists.txt, MapTile.cpp, and 14 more files...

This commit is contained in:
Skarn
2022-01-04 17:05:10 +03:00
parent e95f920f24
commit 893c92eeef
16 changed files with 1858 additions and 1794 deletions

View File

@@ -406,6 +406,11 @@ IF(APPLE)
TARGET_LINK_LIBRARIES (noggit "-framework Cocoa" "-framework AppKit" "-framework Foundation")
ENDIF()
if (UNIX)
FIND_PACKAGE(BZip2)
TARGET_LINK_LIBRARIES (noggit BZip2::BZip2)
ENDIF()
IF(MYSQL_LIBRARY AND MYSQLCPPCONN_LIBRARY AND MYSQLCPPCONN_INCLUDE)
TARGET_LINK_LIBRARIES(noggit ${MYSQL_LIBRARY} ${MYSQLCPPCONN_LIBRARY})
TARGET_INCLUDE_DIRECTORIES(noggit SYSTEM PRIVATE ${MYSQLCPPCONN_INCLUDE})