Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
(cherry picked from commit 5a90091)
  • Loading branch information
jef-n committed Jul 14, 2015
1 parent 5ac8f52 commit b73e1a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/analysis/network/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ INCLUDE_DIRECTORIES(

ADD_LIBRARY(qgis_networkanalysis SHARED ${QGIS_NETWORK_ANALYSIS_SRCS} ${QGIS_NETWORK_ANALYSIS_MOC_SRCS} ${QGIS_NETWORK_ANALYSIS_HDRS})

IF(MSVC)
SET_TARGET_PROPERTIES(qgis_networkanalysis PROPERTIES LINK_FLAGS "/FORCE:MULTIPLE")
ENDIF(MSVC)

IF(NOT APPLE)
INSTALL(FILES ${QGIS_NETWORK_ANALYSIS_HDRS} ${QGIS_NETWORK_ANALYSIS_MOC_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})
ELSE(NOT APPLE)
Expand Down

0 comments on commit b73e1a2

Please sign in to comment.