Skip to content

Commit

Permalink
ocispatial/CMakeLists.txt: remove useless explicit QT5_WRAP_CPP() now…
Browse files Browse the repository at this point in the history
… that we have automoc

Was causing duplicated symbols on my build environment
  • Loading branch information
rouault committed Jan 21, 2020
1 parent 07b64aa commit b1b2a62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/providers/oracle/ocispatial/CMakeLists.txt
Expand Up @@ -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}
Expand Down

0 comments on commit b1b2a62

Please sign in to comment.