Skip to content

Commit 7631a42

Browse files
committed
cmake: do not build *.pyc on WIN32
1 parent 1907dad commit 7631a42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ SET(PYTHON_FILES
5555
)
5656

5757
FOREACH(python ${PYTHON_FILES})
58-
PYTHON_BUILD(${PROJECT_NAME} ${python})
58+
IF(NOT WIN32)
59+
PYTHON_BUILD(${PROJECT_NAME} ${python})
60+
ENDIF()
5961
INSTALL(FILES
6062
"${CMAKE_CURRENT_SOURCE_DIR}/eigenpy/${python}"
6163
DESTINATION ${${PYWRAP}_INSTALL_DIR})

0 commit comments

Comments
 (0)