File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ FetchContent_MakeAvailable(doctest)
1919
2020find_package (ICU 67 COMPONENTS uc)
2121
22- if (${Python3_Development_FOUND} )
22+ if (${Python3_Development_FOUND} AND ${Python3_Interpreter_FOUND} )
2323 include_directories (
2424 SYSTEM
2525 ${Python3_INCLUDE_DIRS}
@@ -49,7 +49,7 @@ if (WIN32)
4949 unix_gen
5050 )
5151
52- if (Python3_Development_FOUND)
52+ if (${ Python3_Development_FOUND} AND ${Python3_Interpreter_FOUND} )
5353
5454 list (APPEND STORAGE_TYPES python)
5555
@@ -62,7 +62,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
6262 unix_gen
6363 )
6464
65- if (Python3_Development_FOUND)
65+ if (${ Python3_Development_FOUND} AND ${Python3_Interpreter_FOUND} )
6666
6767 list (APPEND STORAGE_TYPES python)
6868
8888 def
8989 )
9090
91- if (Python3_FOUND )
91+ if (${Python3_Development_FOUND} AND ${Python3_Interpreter_FOUND} )
9292
9393 list (APPEND STORAGE_TYPES python)
9494
You can’t perform that action at this time.
0 commit comments