Skip to content

Commit

Permalink
Option BUILD_TESTS -> SHINJI_BUILD_TESTS
Browse files Browse the repository at this point in the history
  • Loading branch information
loryruta committed Nov 2, 2021
1 parent 1aad376 commit 1f6236f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(shader_injector)

set(CMAKE_CXX_STANDARD 17)

option(BUILD_TESTS "Build tests?" OFF)
option(SHINJI_BUILD_TESTS "Build tests?" OFF)

# VCPKG
include(FetchContent)
Expand All @@ -12,6 +12,6 @@ FetchContent_Declare(vcpkg URL "https://github.com/microsoft/vcpkg/archive/refs/
FetchContent_MakeAvailable(vcpkg)
include("${vcpkg_SOURCE_DIR}/scripts/buildsystems/vcpkg.cmake")

if (BUILD_TESTS)
if (SHINJI_BUILD_TESTS)
add_subdirectory(test)
endif()

0 comments on commit 1f6236f

Please sign in to comment.