Skip to content

Commit 1e6d52a

Browse files
committed
Install Windows PDB files only if compiled with MSVC
1 parent c6edbd7 commit 1e6d52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ install(FILES
4343

4444
install(FILES
4545
"$<TARGET_PROPERTY:accesskit-shared,IMPORTED_LOCATION>"
46-
"$<$<NOT:$<STREQUAL:$<TARGET_PROPERTY:accesskit-shared,IMPORTED_IMPLIB>,>>:${CMAKE_CURRENT_BINARY_DIR}/accesskit.pdb>"
46+
"$<$<STREQUAL:${_accesskit_toolchain},msvc>:${CMAKE_CURRENT_BINARY_DIR}/accesskit.pdb>"
4747
DESTINATION "${ACCESSKIT_LIBRARIES_DIR}/shared"
4848
)
4949
install(FILES

0 commit comments

Comments
 (0)