Skip to content

Commit be5e180

Browse files
committed
cmake: GENERATE_PYTHON_STUBS OFF by default
1 parent 4bcfb35 commit be5e180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ SET(CMAKE_VERBOSE_MAKEFILE True)
2727
# ----------------------------------------------------
2828
OPTION(INSTALL_DOCUMENTATION "Generate and install the documentation" OFF)
2929
OPTION(SUFFIX_SO_VERSION "Suffix library name with its version" OFF)
30-
OPTION(GENERATE_PYTHON_STUBS "Generate the Python stubs associated to the Python library" ON)
30+
CMAKE_DEPENDENT_OPTION(GENERATE_PYTHON_STUBS "Generate the Python stubs associated to the Python library" OFF "NOT WIN32" OFF)
3131

3232
IF(DEFINED BUILD_UNIT_TESTS)
3333
MESSAGE(AUTHOR_WARNING "BUILD_UNIT_TESTS is deprecated. Use BUILD_TESTING instead.\

0 commit comments

Comments
 (0)