From 2b7b6e48c28acbf46d190124de21b8975bded102 Mon Sep 17 00:00:00 2001 From: Yale Zhang Date: Tue, 3 Jan 2017 21:33:12 +0100 Subject: Fix build on Windows (see http://inkscape.13.x6.nabble.com/compile-error-on-Windows-10-Inkscape-rev-15382-64-bit-td4978305.html) Fixed bugs: - https://launchpad.net/bugs/1645062 (bzr r15388) --- src/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1102bf4bf..47aa02ef1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -521,7 +521,6 @@ set(INKSCAPE_TARGET_LIBS depixelize_LIB util_LIB gc_LIB - ${INKSCAPE_LIBS} ) # Build everything except main and inkview.c in a shared library. @@ -534,7 +533,7 @@ if(WITH_DBUS) endif() # Link the inkscape_base library against all external dependencies -target_link_libraries(inkscape_base ${INKSCAPE_TARGET_LIBS}) +target_link_libraries(inkscape_base PRIVATE ${INKSCAPE_TARGET_LIBS} PUBLIC ${INKSCAPE_LIBS}) # Link inkscape and inkview against inkscape_base target_link_libraries(inkscape inkscape_base) -- cgit v1.2.3