Skip to content

Commit

Permalink
BLD: [CPP] Explicitely search for Python
Browse files Browse the repository at this point in the history
  • Loading branch information
RUrlus committed Dec 27, 2023
1 parent c670e50 commit 82018f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.15...3.27)
cmake_minimum_required(VERSION 3.17...3.27)

# Scikit-build-core sets these values for you, or you can just hard-code the
# name and version.
Expand All @@ -12,6 +12,7 @@ set(CMAKE_CXX_STANDARD 14)
# Define CMAKE_INSTALL_xxx: LIBDIR, INCLUDEDIR
include(GNUInstallDirs)

find_package(Python REQUIRED COMPONENTS Interpreter Development.Module)
find_package(pybind11 CONFIG REQUIRED)
set(SUBPATH ${PROJECT_SOURCE_DIR}/phik/simcore/)

Expand Down

0 comments on commit 82018f3

Please sign in to comment.