File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 11# YGGDRASIL CMAKELISTS
22cmake_minimum_required (VERSION 3.16)
3+ if (NOT SKBUILD)
4+ message (FATAL_ERROR "Must be built via scikit-build-core" )
5+ endif ()
6+ PROJECT (${SKBUILD_PROJECT_NAME} VERSION "${SKBUILD_PROJECT_VERSION} " )
37
48cmake_path(
59 APPEND CMAKE_CURRENT_SOURCE_DIR yggdrasil core
@@ -16,11 +20,15 @@ set(PYRJ_DIR "${DEFAULT_PYRJ_DIR}" CACHE PATH
1620set (CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH} ;${PYRJ_DIR} /cmake" )
1721include (ygg_options)
1822
23+ ############################
24+ # python-rapidjson module
25+ ############################
26+
1927message (STATUS "${PYTHON_PREFIX} _INSTALL_DIR = ${${PYTHON_PREFIX} _INSTALL_DIR}" )
2028message (STATUS "CMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX} " )
2129message (STATUS "PYRJ_DIR = ${PYRJ_DIR} " )
2230
23- set (PYRJ_ALTERNATE_MODULE yggdrasil.rapidjson)
31+ set (PYRJ_ALTERNATE_MODULE " yggdrasil.rapidjson" CACHE STRING "Name of the python-rapidjson Python modules that should be built" )
2432
2533set (${PYTHON_PREFIX} _INSTALL_DIR "." )
2634if (PYRJ_DIR STREQUAL "${DEFAULT_PYRJ_DIR} " )
You can’t perform that action at this time.
0 commit comments