Skip to content

Commit

Permalink
Fix codelab CMakeLists.txt
Browse files Browse the repository at this point in the history
Fix the parameter order of the set command by switching `value` and `docstring`.

See: https://cmake.org/cmake/help/latest/command/set.html
`set(<variable> <value>... CACHE <type> <docstring>)`
  • Loading branch information
jonasspinner committed Sep 16, 2024
1 parent b542c64 commit a205bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codelab/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD 17)

include(FetchContent)

set(FUZZTEST_REPO_BRANCH "FuzzTest repository branch." CACHE STRING "main")
set(FUZZTEST_REPO_BRANCH "main" CACHE STRING "FuzzTest repository branch.")
message("Building fuzztest at branch " ${FUZZTEST_REPO_BRANCH})

FetchContent_Declare(
Expand Down

0 comments on commit a205bd1

Please sign in to comment.