mirror of
https://github.com/reactos/reactos.git
synced 2025-05-09 03:37:08 +00:00
Build rosapps, rostests, wallpapers when their CMake variables are set instead of checking for directory existence.
By default, ReactOS will now build without any of these modules. You can enable them using e.g. "configure -DENABLE_ROSTESTS=1".
This commit is contained in:
parent
b9cf2e37f3
commit
417e262dfc
1 changed files with 3 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
|||
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rostests/)
|
||||
if(ENABLE_ROSTESTS)
|
||||
add_subdirectory(rostests)
|
||||
endif()
|
||||
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rosapps/)
|
||||
if(ENABLE_ROSAPPS)
|
||||
add_subdirectory(rosapps)
|
||||
endif()
|
||||
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/wallpapers/)
|
||||
if(ENABLE_WALLPAPERS)
|
||||
add_subdirectory(wallpapers)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue