Skip to content

Commit ffb56ed

Browse files
author
Clement Champetier
committed
CMake: fixed configure of applications if TUTTLE_PYTHON_VERSION is not defined
1 parent fae457f commit ffb56ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

applications/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ add_subdirectory(sam)
44
# scripts
55
add_subdirectory(script)
66

7+
if(NOT TUTTLE_PYTHON_VERSION)
8+
return()
9+
endif()
10+
711
# Edit python scripts if the host is built with python3
812
if(${TUTTLE_PYTHON_VERSION} VERSION_GREATER "3")
913
set(BASH_PYTHON2 "#!/usr/bin/env python")

0 commit comments

Comments
 (0)