We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c99b31b commit 01cebfeCopy full SHA for 01cebfe
1 file changed
CMakeLists.txt
@@ -47,8 +47,14 @@ target_link_libraries(extending PRIVATE
47
${LIBWIN}serialport${WIN64}
48
)
49
50
-set_target_properties(extending PROPERTIES
51
- PREFIX ""
52
- SUFFIX ".pyd"
53
-)
54
+if(PLATFORM STREQUAL "win")
+ set_target_properties(extending PROPERTIES
+ PREFIX ""
+ SUFFIX ".pyd"
55
+ )
56
+else()
57
58
59
60
+endif()
0 commit comments