some fixes

This commit is contained in:
Kolyah35
2026-03-17 00:40:32 +03:00
parent b8df42d9bd
commit 1ca46fab32
2 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
build_type: [Debug] build_type: [Release]
include: include:
- os: windows-latest - os: windows-latest
c_compiler: clang c_compiler: clang

View File

@@ -250,6 +250,7 @@ if(PLATFORM STREQUAL "PLATFORM_GLFW")
endif() endif()
# Server # Server
if(UNIX)
add_executable("${PROJECT_NAME}-server" ${SERVER_SOURCES}) add_executable("${PROJECT_NAME}-server" ${SERVER_SOURCES})
target_compile_definitions("${PROJECT_NAME}-server" PUBLIC "STANDALONE_SERVER" "SERVER_PROFILER") 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) target_link_libraries("${PROJECT_NAME}-server" ${CMAKE_THREAD_LIBS_INIT} png_shared)
endif()
add_executable(${PROJECT_NAME} add_executable(${PROJECT_NAME}
${CLIENT_SOURCES} ${CLIENT_SOURCES}