Skip to content

Commit

Permalink
[cmake] liddxfrw linked to qgis_core
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 13, 2021
1 parent e305a98 commit 3db2bc6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions external/libdxfrw/CMakeLists.txt
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,3 @@
include_directories(

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/core/geometry
)


include_directories(SYSTEM include_directories(SYSTEM
${Qt5Core_INCLUDE_DIRS} ${Qt5Core_INCLUDE_DIRS}
Expand Down Expand Up @@ -31,6 +26,10 @@ add_library(libdxfrw STATIC
) )
set_property(TARGET libdxfrw PROPERTY POSITION_INDEPENDENT_CODE ON) set_property(TARGET libdxfrw PROPERTY POSITION_INDEPENDENT_CODE ON)


target_link_libraries(libdxfrw
qgis_core # QgsDebugMsg
)

if(FALSE) if(FALSE)
if(DOXYGEN_FOUND) if(DOXYGEN_FOUND)
add_custom_target(doxygen-dxfrw ALL add_custom_target(doxygen-dxfrw ALL
Expand Down

0 comments on commit 3db2bc6

Please sign in to comment.