File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
pythonfmu3/pythonfmu-export Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
3535
3636# Force to use stable Python ABI https://docs.python.org/3/c-api/stable.html
3737add_compile_definitions (Py_LIMITED_API)
38- find_package (Python REQUIRED COMPONENTS Interpreter Development.Module)
38+ find_package (Python3 REQUIRED COMPONENTS Interpreter Development.Module)
3939if (WIN32 )
40- set (Python3_LIBRARIES ${Python_LIBRARY_DIRS } /python3.lib)
40+ set (Python3_LIBRARIES ${Python3_LIBRARY_DIRS } /python3.lib)
4141endif ()
4242
4343if (WIN32 )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ target_compile_features(pythonfmu-export PUBLIC "cxx_std_17")
2222
2323target_include_directories (pythonfmu-export
2424 PRIVATE
25- "${Python_INCLUDE_DIRS } "
25+ "${Python3_INCLUDE_DIRS } "
2626 "${CMAKE_CURRENT_SOURCE_DIR} "
2727 )
2828
You can’t perform that action at this time.
0 commit comments