diff --git a/CMakeLists.txt b/CMakeLists.txt index 69d22d76..d924d307 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,12 +6,9 @@ endif(WITH_SERVER) if (NOT WITHOUT_CLIENT) add_subdirectory(cockatrice) add_subdirectory(oracle) + add_subdirectory(sounds) + add_subdirectory(zonebg) endif(NOT WITHOUT_CLIENT) if (WITH_TESTCLIENT) add_subdirectory(testclient) endif(WITH_TESTCLIENT) - -FILE(GLOB sounds "${CMAKE_CURRENT_SOURCE_DIR}/sounds/*.raw") -INSTALL(FILES ${sounds} DESTINATION share/cockatrice/sounds) -FILE(GLOB zonebg "${CMAKE_CURRENT_SOURCE_DIR}/zonebg/*.*") -INSTALL(FILES ${zonebg} DESTINATION share/cockatrice/zonebg) diff --git a/sounds/CMakeLists.txt b/sounds/CMakeLists.txt new file mode 100644 index 00000000..56a4a029 --- /dev/null +++ b/sounds/CMakeLists.txt @@ -0,0 +1,2 @@ +FILE(GLOB sounds "${CMAKE_CURRENT_SOURCE_DIR}/sounds/*.raw") +INSTALL(FILES ${sounds} DESTINATION share/cockatrice/sounds) diff --git a/zonebg/CMakeLists.txt b/zonebg/CMakeLists.txt new file mode 100644 index 00000000..b3e23a50 --- /dev/null +++ b/zonebg/CMakeLists.txt @@ -0,0 +1,2 @@ +FILE(GLOB zonebg "${CMAKE_CURRENT_SOURCE_DIR}/zonebg/*.*") +INSTALL(FILES ${zonebg} DESTINATION share/cockatrice/zonebg)