src/CMakeLists.txt: Remove dwm.cpp if dwm disabled
This commit is contained in:
parent
56135fbf62
commit
f17aef943c
@ -98,7 +98,7 @@ endif()
|
||||
if(NOT ENABLE_I3)
|
||||
string(REPLACE " i3" "" MODULES_LEFT ${MODULES_LEFT})
|
||||
endif()
|
||||
if (NOT ENABLE_DWM)
|
||||
if(NOT ENABLE_DWM)
|
||||
string(REPLACE " dwm" "" MODULES_LEFT ${MODULES_LEFT})
|
||||
endif()
|
||||
if(NOT ENABLE_MPD)
|
||||
|
@ -23,6 +23,9 @@ if(NOT ENABLE_CURL)
|
||||
list(REMOVE_ITEM files modules/github.cpp)
|
||||
list(REMOVE_ITEM files utils/http.cpp)
|
||||
endif()
|
||||
if(NOT ENABLE_DWM)
|
||||
list(REMOVE_ITEM files modules/dwm.cpp)
|
||||
endif()
|
||||
if(NOT ENABLE_MPD)
|
||||
list(REMOVE_ITEM files modules/mpd.cpp)
|
||||
list(REMOVE_ITEM files adapters/mpd.cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user