1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

disable WIN32 flag for executables, fix previous commit

This commit is contained in:
Michael Pavlyshko
2014-07-10 00:47:22 +03:00
parent ce5f59e8b6
commit c935193558
3 changed files with 6 additions and 16 deletions

View File

@ -12,13 +12,9 @@ set(server_SRCS
NetPacksServer.cpp
)
if(WIN32)
add_executable(vcmiserver WIN32 ${server_SRCS})
else()
add_executable(vcmiserver ${server_SRCS})
endif()
add_executable(vcmiserver ${server_SRCS})
target_link_libraries(vcmiserver vcmi ${Boost_LIBRARIES} ${RT_LIB} ${DL_LIB})
target_link_libraries(vcmiserver vcmi ${Boost_LIBRARIES} ${SYSTEM_LIBS})
set_target_properties(vcmiserver PROPERTIES ${PCH_PROPERTIES})
set_target_properties(vcmiserver PROPERTIES XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS "@executable_path/../Frameworks @executable_path/")