Skip to content

Commit

Permalink
Fixed SDE linking (thanks tbonfort).
Browse files Browse the repository at this point in the history
  • Loading branch information
sdlime committed Aug 13, 2013
1 parent 003c64f commit f004db1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit f004db1

Please sign in to comment.