cmake_minimum_required(VERSION 3.10) set(PROJECT_NAME jswm) project(${PROJECT_NAME} VERSION 0.1) include(GNUInstallDirs) set(JSWM_CONFIG_FILE_NAME "jswm.json") set(JSWM_CONFIG_FILE "/${CMAKE_INSTALL_SYSCONFDIR}/${JSWM_CONFIG_FILE_NAME}") configure_file(config.h.in config.h) add_subdirectory(jswm) add_subdirectory(libjswm)