Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / snowballs2 / client / src / CMakeLists.txt
blob18a2c126c67a79810d238c59ed4b39be18089f04
1 FILE(GLOB SRC *.cpp *.h)
3 ADD_EXECUTABLE(snowballs_client WIN32 ${SRC})
5 TARGET_LINK_LIBRARIES(snowballs_client
6                                                 nelmisc
7                                                 nelpacs
8                                                 nelnet
9                                                 nel3d)
11 NL_DEFAULT_PROPS(snowballs_client "Snowballs, Client: Snowballs Client")
12 NL_ADD_RUNTIME_FLAGS(snowballs_client)
14 # If sound is enabled then add the definitions and link the libraries.
15 IF(WITH_SOUND)
16   ADD_DEFINITIONS(-DSBCLIENT_WITH_SOUND)
17   TARGET_LINK_LIBRARIES(snowballs_client nelsound)
18 ENDIF()
20 INSTALL(TARGETS snowballs_client RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT snowballsclient)