We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f55469c commit 5a0fed0Copy full SHA for 5a0fed0
1 file changed
CMakeLists.txt
@@ -16,6 +16,9 @@ endif()
16
option(BUILD_QT "build with QT" ON)
17
message(STATUS "BUILD_QT: ${BUILD_QT}")
18
19
+# PySide6 is required since 2023 (see issue https://github.com/solvcon/modmesh/issues/220)
20
+message(STATUS "PySide6 support: REQUIRED")
21
+
22
option(BUILD_METAL "build with Metal" OFF)
23
message(STATUS "BUILD_METAL: ${BUILD_METAL}")
24
if(BUILD_METAL)
@@ -138,6 +141,7 @@ set(MODMESH_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/cpp" CACHE INTERNAL "")
138
141
139
142
include_directories(${MODMESH_INCLUDE_DIR})
140
143
144
+add_compile_definitions(MODMESH_USE_PYSIDE)
145
execute_process(
146
COMMAND python3 -c "import sys, os, PySide6; sys.stdout.write(os.path.dirname(PySide6.__file__))"
147
OUTPUT_VARIABLE PYSIDE6_PYTHON_PACKAGE_PATH
0 commit comments