CMakeLists.txt: rename option to match README.adoc
This commit is contained in:
+3
-3
@@ -9,7 +9,7 @@ project (xK VERSION "${project_version}"
|
||||
DESCRIPTION "IRC daemon, bot, TUI client and its web frontend" LANGUAGES C)
|
||||
|
||||
# Options
|
||||
option (WANT_XF "Build the xF frontend" OFF)
|
||||
option (WITH_XF "Build the xF frontend" OFF)
|
||||
|
||||
# Moar warnings
|
||||
set (CMAKE_C_STANDARD 99)
|
||||
@@ -183,7 +183,7 @@ add_dependencies (xC replies xC-proto)
|
||||
target_link_libraries (xC PRIVATE ${xC_libraries})
|
||||
target_include_directories (xC PRIVATE ${Termo_INCLUDE_DIRS})
|
||||
|
||||
if (WANT_XF)
|
||||
if (WITH_XF)
|
||||
list (APPEND project_binaries xF)
|
||||
|
||||
find_package (Unistring REQUIRED)
|
||||
@@ -255,7 +255,7 @@ install (DIRECTORY plugins/xC/
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/xC/plugins)
|
||||
|
||||
# Rasterize and install SVG icons
|
||||
if (WANT_XF AND WITH_X11)
|
||||
if (WITH_XF AND WITH_X11)
|
||||
include (IconUtils)
|
||||
|
||||
set (icon_base ${PROJECT_BINARY_DIR}/icons)
|
||||
|
||||
Reference in New Issue
Block a user