Skip to content
Permalink
Browse files

Fix building against Qt5

  • Loading branch information
m-kuhn committed Jan 4, 2017
1 parent e9c3963 commit 96cd7515756f250eb068f623b56d7ff3952a757a
Showing with 22 additions and 21 deletions.
  1. +22 −21 src/app/dwg/libdxfrw/CMakeLists.txt
@@ -1,28 +1,29 @@
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/src/core
${QT_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/src/core
${QT_INCLUDE_DIR}
${Qt5Core_INCLUDE_DIRS}
)

ADD_LIBRARY(libdxfrw STATIC
drw_classes.cpp
drw_entities.cpp
drw_header.cpp
drw_objects.cpp
libdwgr.cpp
libdxfrw.cpp
intern/drw_dbg.cpp
intern/drw_textcodec.cpp
intern/dwgbuffer.cpp
intern/dwgreader.cpp
intern/dwgreader15.cpp
intern/dwgreader18.cpp
intern/dwgreader21.cpp
intern/dwgreader24.cpp
intern/dwgreader27.cpp
intern/dwgutil.cpp
intern/dxfreader.cpp
intern/dxfwriter.cpp
intern/rscodec.cpp
drw_classes.cpp
drw_entities.cpp
drw_header.cpp
drw_objects.cpp
libdwgr.cpp
libdxfrw.cpp
intern/drw_dbg.cpp
intern/drw_textcodec.cpp
intern/dwgbuffer.cpp
intern/dwgreader.cpp
intern/dwgreader15.cpp
intern/dwgreader18.cpp
intern/dwgreader21.cpp
intern/dwgreader24.cpp
intern/dwgreader27.cpp
intern/dwgutil.cpp
intern/dxfreader.cpp
intern/dxfwriter.cpp
intern/rscodec.cpp
)
SET_PROPERTY(TARGET libdxfrw PROPERTY POSITION_INDEPENDENT_CODE ON)

0 comments on commit 96cd751

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