Skip to content

Commit 089db22

Browse files
committed
Merge remote-tracking branch 'origin/v10-minor'
2 parents f08ae17 + af1f619 commit 089db22

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,14 @@ install(TARGETS scip libscip EXPORT scip-targets
12521252
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
12531253
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
12541254

1255+
# install the debug program database files
1256+
if(MSVC)
1257+
install(FILES $<TARGET_PDB_FILE:scip> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)
1258+
if(BUILD_SHARED_LIBS)
1259+
install(FILES $<TARGET_PDB_FILE:libscip> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)
1260+
endif()
1261+
endif()
1262+
12551263
# Add all targets to the build-tree export set
12561264
export(TARGETS scip libscip
12571265
FILE "${PROJECT_BINARY_DIR}/scip-targets.cmake")

0 commit comments

Comments
 (0)