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:
matrix:
os: [ubuntu-latest, windows-latest]
build_type: [Debug]
build_type: [Release]
include:
- os: windows-latest
c_compiler: clang

View File

@@ -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}