Skip to content

Commit ce4331b

Browse files
author
timlinux
committed
Try to copy lib to install dir when building with msvc (needs some work to softcode when building with other build types still)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7239 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c77fc37 commit ce4331b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/gui/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,8 @@ qgsvertexmarker.h
108108

109109
INSTALL(CODE "MESSAGE(\"Installing GUI headers...\")")
110110
INSTALL(FILES ${QGIS_GUI_HDRS} ${QGIS_GUI_MOC_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})
111+
IF (MSVC)
112+
#install the static lib too for 3rd party app writers to use
113+
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo/qgis_gui.lib DESTINATION ${QGIS_BIN_DIR})
114+
ENDIF (MSVC)
115+

0 commit comments

Comments
 (0)