mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-19 22:43:32 +00:00
some fixes
This commit is contained in:
2
.github/workflows/cmake-multiplatform.yml
vendored
2
.github/workflows/cmake-multiplatform.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
build_type: [Debug]
|
||||
build_type: [Release]
|
||||
include:
|
||||
- os: windows-latest
|
||||
c_compiler: clang
|
||||
|
||||
@@ -250,6 +250,7 @@ if(PLATFORM STREQUAL "PLATFORM_GLFW")
|
||||
endif()
|
||||
|
||||
# Server
|
||||
if(UNIX)
|
||||
add_executable("${PROJECT_NAME}-server" ${SERVER_SOURCES})
|
||||
|
||||
target_compile_definitions("${PROJECT_NAME}-server" PUBLIC "STANDALONE_SERVER" "SERVER_PROFILER")
|
||||
@@ -260,7 +261,7 @@ target_include_directories("${PROJECT_NAME}-server" PUBLIC
|
||||
)
|
||||
|
||||
target_link_libraries("${PROJECT_NAME}-server" ${CMAKE_THREAD_LIBS_INIT} png_shared)
|
||||
|
||||
endif()
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
${CLIENT_SOURCES}
|
||||
|
||||
Reference in New Issue
Block a user