We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5155bab + 86fd22b commit ceeec8bCopy full SHA for ceeec8b
src/libcec/cmake/CheckPlatformSupport.cmake
@@ -326,7 +326,9 @@ else()
326
set_property(SOURCE libcec.i PROPERTY SWIG_MODULE_NAME cec)
327
SWIG_ADD_LIBRARY(pycec LANGUAGE python TYPE MODULE SOURCES libcec.i)
328
SWIG_LINK_LIBRARIES(${SWIG_MODULE_pycec_REAL_NAME} cec ${PYTHON_LIBRARIES})
329
- target_compile_options(pycec PUBLIC "-Wno-unused-parameter")
+ if (NOT WIN32)
330
+ target_compile_options(pycec PUBLIC "-Wno-unused-parameter")
331
+ endif()
332
333
if(WIN32)
334
install(TARGETS ${SWIG_MODULE_pycec_REAL_NAME}
0 commit comments