80660b5146
dont crash when neldb is missing
12 lines
399 B
CMake
12 lines
399 B
CMake
ADD_SUBDIRECTORY(src)
|
|
|
|
SET(database "${SNOWBALLS_DATA_FILE}")
|
|
CONFIGURE_FILE(client.cfg.in client.cfg)
|
|
|
|
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/client.cfg DESTINATION etc/snowballs COMPONENT snowballsclient)
|
|
INSTALL(DIRECTORY data/
|
|
DESTINATION share/games/snowballs
|
|
COMPONENT snowballsdata
|
|
PATTERN "CVS" EXCLUDE
|
|
PATTERN ".svn" EXCLUDE
|
|
PATTERN "Makefile*" EXCLUDE)
|