commit | a9b7a2f91ba7dad78179500af1a0c241bad0b099 | [log] [tgz] |
---|---|---|
author | Ivan Zrno <ivan.zrno2@gmail.com> | Thu Jun 10 03:07:00 2021 +1200 |
committer | GitHub <noreply@github.com> | Wed Jun 09 18:07:00 2021 +0300 |
tree | 47df190c89964a1e45a132b24cb1c504f78e01a7 | |
parent | 70f84570d5c0c8afc95bad44c5d0bdf75d0a70b6 [diff] |
Fix problem with previous change to CMakeLists (#677) Added missing braces.
diff --git a/CMakeLists.txt b/CMakeLists.txt index b037f39..35a7ae3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -15,7 +15,7 @@ option(nanopb_MSVC_STATIC_RUNTIME "Link static runtime libraries" ON) find_program(nanopb_PROTOC_PATH protoc) -if(NOT EXISTS nanopb_PROTOC_PATH) +if(NOT EXISTS ${nanopb_PROTOC_PATH}) message(FATAL_ERROR "protoc compiler not found") endif()