Skip to content
Permalink
Browse files

ocispatial/CMakeLists.txt: remove useless explicit QT5_WRAP_CPP() now…

… that we have automoc

Was causing duplicated symbols on my build environment
  • Loading branch information
rouault committed Jan 21, 2020
1 parent 07b64aa commit b1b2a62cfeafb106a71b67af2e026dfe413b1049
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/providers/oracle/ocispatial/CMakeLists.txt
@@ -14,10 +14,9 @@ INCLUDE_DIRECTORIES(SYSTEM
${Qt5Sql_PRIVATE_INCLUDE_DIRS}
)

SET(QSQLOCISPATIAL_SRC qsql_ocispatial.cpp main.cpp)
QT5_WRAP_CPP(QSQLOCISPATIAL_MOC_SRC qsql_ocispatial.h main.h)
SET(QSQLOCISPATIAL_SRC qsql_ocispatial.cpp main.cpp qsql_ocispatial.h main.h)

ADD_LIBRARY(qsqlocispatial SHARED ${QSQLOCISPATIAL_SRC} ${QSQLOCISPATIAL_MOC_SRC})
ADD_LIBRARY(qsqlocispatial SHARED ${QSQLOCISPATIAL_SRC})

TARGET_LINK_LIBRARIES(qsqlocispatial
${Qt5Core_LIBRARIES}

0 comments on commit b1b2a62

Please sign in to comment.
You can’t perform that action at this time.