Skip to content

Commit

Permalink
Add new version constraint for Python dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickgold committed Jun 17, 2023
1 parent 8bbdfd0 commit 8ab06ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ endif()
project(FlorisNLP VERSION 0.1.0)

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
find_package(Python 3.10...<4 REQUIRED COMPONENTS Interpreter)

include(EnforceSystemEnv)
if (NOT ANDROID)
include(CxxModules)
Expand Down
2 changes: 0 additions & 2 deletions CMakeModules/RewriteCppmToHeader.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
find_package(Python REQUIRED COMPONENTS Interpreter)

set_property(GLOBAL PROPERTY __current_source_dir ${CMAKE_CURRENT_SOURCE_DIR})
set_property(GLOBAL PROPERTY __current_binary_dir ${CMAKE_CURRENT_BINARY_DIR})
function(target_module_sources target_name target_type)
Expand Down

0 comments on commit 8ab06ec

Please sign in to comment.