mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-02 18:24:55 -05:00
Expose BUILD_TESTS as (advanced) CMake option
This makes it easier to set BUILD_TESTS (introduced in
87ea0392b4) from ccmake/cmake-gui
This commit is contained in:
@@ -74,6 +74,9 @@ elseif(UNIX AND NOT UNIX_STRUCTURE)
|
||||
list(APPEND CMAKE_INSTALL_RPATH "$ORIGIN")
|
||||
endif()
|
||||
|
||||
option(BUILD_TESTS "Build test directory (includes test sources and possibly a platform test executable)" FALSE)
|
||||
mark_as_advanced(BUILD_TESTS)
|
||||
|
||||
if(NOT INSTALLER_RUN)
|
||||
add_subdirectory(deps)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user