Skip to content

Commit

Permalink
SAIL: Install PDB files with MSVC only
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Baryshev committed Oct 6, 2021
1 parent 45a9aa3 commit 0d11a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/sail_install_pdb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
macro(sail_install_pdb)
cmake_parse_arguments(SAIL_INSTALL_PDB "" "TARGET" "" ${ARGN})

if (NOT SAIL_STATIC)
if (MSVC AND NOT SAIL_STATIC)
install(FILES $<TARGET_PDB_FILE:${SAIL_INSTALL_PDB_TARGET}> DESTINATION bin OPTIONAL)
endif()
endmacro()

0 comments on commit 0d11a30

Please sign in to comment.