forked from mirrors/kolyah35-minecraft-pe-0.6.1
fix build!!
This commit is contained in:
parent
3b82c519d0
commit
980fc2ccfb
1 changed files with 4 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ if (${PLATFORM} STREQUAL "Desktop")
|
|||
endif()
|
||||
|
||||
if (WIN32)
|
||||
target_sources(MinecraftPE PRIVATE data/images/pe.rc)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
include_directories(misc/windows)
|
||||
set(EXTRA_LIBS ws2_32 winhttp)
|
||||
|
|
@ -321,6 +320,10 @@ target_link_libraries("${PROJECT_NAME}-server" ${CMAKE_THREAD_LIBS_INIT} ${EXTRA
|
|||
|
||||
add_executable(${PROJECT_NAME} ${CLIENT_SOURCES})
|
||||
|
||||
if(WIN32)
|
||||
target_sources(${PROJECT_NAME} PRIVATE data/images/pe.rc)
|
||||
endif()
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} PUBLIC ${PLATFORM_CPP})
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue