From 7172735786c43c2305a92ffd4e5d285d11f88f7f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 13 Jun 2011 00:19:17 +0000 Subject: cmake: turns out my recent commits (which I undid) were not incorrect, variables were set in subdirectories then used in the parent directory, where they were still unset. Fixing this broke the build because some files in the subdir were not compiling. (bzr r10276) --- src/dialogs/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/dialogs') diff --git a/src/dialogs/CMakeLists.txt b/src/dialogs/CMakeLists.txt index d22b5750c..bd6942ca6 100644 --- a/src/dialogs/CMakeLists.txt +++ b/src/dialogs/CMakeLists.txt @@ -1,3 +1,4 @@ + set(dialogs_SRC clonetiler.cpp dialog-events.cpp @@ -9,5 +10,5 @@ set(dialogs_SRC text-edit.cpp xml-tree.cpp ) -add_library(dialogs_LIB STATIC ${dialogs_SRC}) -target_link_libraries(dialogs_LIB 2geom_LIB ${INKSCAPE_LIBS}) + +add_library(dialogs_LIB ${dialogs_SRC}) -- cgit v1.2.3