From 3db2bc683d047c17550139154efa2ae4f4555dc4 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Wed, 13 Jan 2021 09:12:56 +0100 Subject: [PATCH] [cmake] liddxfrw linked to qgis_core --- external/libdxfrw/CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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