Skip to content

Commit 2ce431f

Browse files
committed
WIP: mod: cmake/modules/FindUnifySDK.cmake (review/9/main)
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent ef0d2c0 commit 2ce431f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/modules/FindUnifySDK.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ if(NOT DEFINED UNIFYSDK_GIT_REPOSITORY)
88
endif()
99
endif()
1010

11-
# TODO: Pin stable revision once supported
1211
if(NOT DEFINED UNIFYSDK_GIT_TAG)
13-
if(DEFINED $ENV{UNIFYSDK_GIT_REPOSITORY})
14-
set(UNIFYSDK_GIT_REPOSITORY $ENV{UNIFYSDK_GIT_REPOSITORY})
12+
if(DEFINED $ENV{UNIFYSDK_GIT_TAG})
13+
set(UNIFYSDK_GIT_GET $ENV{UNIFYSDK_GIT_TAG})
1514
else()
15+
message(WARNING "TODO: Pin stable revision once supported")
1616
set(UNIFYSDK_GIT_TAG main)
1717
endif()
1818
endif()

0 commit comments

Comments
 (0)