Skip to content

Commit ceeec8b

Browse files
committed
Merge branch 'master' into release
2 parents 5155bab + 86fd22b commit ceeec8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libcec/cmake/CheckPlatformSupport.cmake

+3-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,9 @@ else()
326326
set_property(SOURCE libcec.i PROPERTY SWIG_MODULE_NAME cec)
327327
SWIG_ADD_LIBRARY(pycec LANGUAGE python TYPE MODULE SOURCES libcec.i)
328328
SWIG_LINK_LIBRARIES(${SWIG_MODULE_pycec_REAL_NAME} cec ${PYTHON_LIBRARIES})
329-
target_compile_options(pycec PUBLIC "-Wno-unused-parameter")
329+
if (NOT WIN32)
330+
target_compile_options(pycec PUBLIC "-Wno-unused-parameter")
331+
endif()
330332

331333
if(WIN32)
332334
install(TARGETS ${SWIG_MODULE_pycec_REAL_NAME}

0 commit comments

Comments
 (0)