Permalink
Browse files

Fix SDE plugin build (#4887)

  • Loading branch information...
szekerest committed Mar 25, 2014
1 parent e184249 commit a78ef9336349276ad8b9e683af0364efb29562a3
Showing with 6 additions and 6 deletions.
  1. +6 −6 CMakeLists.txt
View
@@ -462,13 +462,13 @@ if(WITH_SDE_PLUGIN)
if(SDE_INCLUDE_DIR AND SDE_LIBRARY_DIR)
include_directories(${SDE_INCLUDE_DIR})
if(SDE_VERSION STREQUAL "91")
- add_library(msplugin_sde91 MODULE mapsde.c mapthread.c)
- target_link_libraries(msplugin_sde91 ${SDE_LIBRARY_DIR}/pe91.lib ${SDE_LIBRARY_DIR}/sg91.lib ${SDE_LIBRARY_DIR}/sde91.lib ${MAPSERVER_LIBMAPSERVER})
- set_target_properties(msplugin_sde91 PROPERTIES COMPILE_FLAGS "-DUSE_SDE")
+ add_library(msplugin_sde_91 MODULE mapsde.c mapthread.c)
+ target_link_libraries(msplugin_sde_91 ${SDE_LIBRARY_DIR}/pe91.lib ${SDE_LIBRARY_DIR}/sg91.lib ${SDE_LIBRARY_DIR}/sde91.lib ${MAPSERVER_LIBMAPSERVER})
+ set_target_properties(msplugin_sde_91 PROPERTIES COMPILE_FLAGS "-DUSE_SDE -DUSE_SDE_PLUGIN")
else(SDE_VERSION STREQUAL "91")
- add_library(msplugin_sde92 MODULE mapsde.c mapthread.c)
- target_link_libraries(msplugin_sde92 ${SDE_LIBRARY_DIR}/pe.lib ${SDE_LIBRARY_DIR}/sg.lib ${SDE_LIBRARY_DIR}/sde.lib ${MAPSERVER_LIBMAPSERVER})
- set_target_properties(msplugin_sde92 PROPERTIES COMPILE_FLAGS "-DUSE_SDE")
+ add_library(msplugin_sde_92 MODULE mapsde.c mapthread.c)
+ target_link_libraries(msplugin_sde_92 ${SDE_LIBRARY_DIR}/pe.lib ${SDE_LIBRARY_DIR}/sg.lib ${SDE_LIBRARY_DIR}/sde.lib ${MAPSERVER_LIBMAPSERVER})
+ set_target_properties(msplugin_sde_92 PROPERTIES COMPILE_FLAGS "-DUSE_SDE -DUSE_SDE_PLUGIN")
endif(SDE_VERSION STREQUAL "91")
set(USE_SDE_PLUGIN 1)
else(SDE_INCLUDE_DIR AND SDE_LIBRARY_DIR)

0 comments on commit a78ef93

Please sign in to comment.