Permalink
Browse files

Fixed SDE linking (thanks tbonfort).

  • Loading branch information...
1 parent 003c64f commit f004db167a7835029b90e6298bb47bdd61811fb8 @sdlime sdlime committed Aug 13, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
View
@@ -425,13 +425,13 @@ if(WITH_SDE)
find_package(SDE)
if(SDE_FOUND)
include_directories(${SDE_INCLUDE_DIRS})
- target_link_libraries(mapserv ${SDE_LIBRARIES})
+ ms_link_libraries(${SDE_LIBRARIES})
set (USE_SDE 1)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(SDE64 1)
endif(CMAKE_SIZEOF_VOID_P EQUAL 8)
else(SDE_FOUND)
- MESSAGE(WARNING "Could not find (all?) sde files. Try setting -DSDE_DIR=/path/to/sde and/or -DSDE_VERSION=91|92")
+ MESSAGE(WARNING "Could not find (all?) sde files. Try setting -DSDE_DIR=/path/to/sde and/or -DSDE_VERSION=91|92|100")
report_optional_not_found(SDE)
endif(SDE_FOUND)
endif(WITH_SDE)

0 comments on commit f004db1

Please sign in to comment.