diff --git a/external/libdxfrw/CMakeLists.txt b/external/libdxfrw/CMakeLists.txt index d0e5843cda0..57ea6790ef3 100644 --- a/external/libdxfrw/CMakeLists.txt +++ b/external/libdxfrw/CMakeLists.txt @@ -1,8 +1,3 @@ -include_directories( - - ${CMAKE_BINARY_DIR}/src/core - ${CMAKE_BINARY_DIR}/src/core/geometry -) include_directories(SYSTEM ${Qt5Core_INCLUDE_DIRS} @@ -31,6 +26,10 @@ add_library(libdxfrw STATIC ) set_property(TARGET libdxfrw PROPERTY POSITION_INDEPENDENT_CODE ON) +target_link_libraries(libdxfrw + qgis_core # QgsDebugMsg +) + if(FALSE) if(DOXYGEN_FOUND) add_custom_target(doxygen-dxfrw ALL