forked from mirrors/kolyah35-minecraft-pe-0.6.1
some fixes
This commit is contained in:
parent
b8df42d9bd
commit
1ca46fab32
2 changed files with 3 additions and 2 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue