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:
@ -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/")
|
||||
|
Reference in New Issue
Block a user