From 0846d1d17ab45caacac640c3a061b65c19abd2a5 Mon Sep 17 00:00:00 2001 From: "Joshua L. Blocher" Date: Sat, 5 Apr 2008 23:49:41 +0000 Subject: Cmake: Fix registrytool.cpp to compile on windows only (bzr r5354) --- src/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e0452b0f8..1a1374231 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,10 @@ +IF(WIN32) +SET(ONLY_WIN +registrytool.cpp) +ELSEIF(WIN32) +SET(ONLY_WIN) +ENDIF(WIN32) + SET(INKSCAPE_SRC arc-context.cpp attributes.cpp @@ -85,7 +92,6 @@ print.cpp profile-manager.cpp proj_pt.cpp rect-context.cpp -registrytool.cpp rubberband.cpp satisfied-guide-cns.cpp selcue.cpp @@ -199,6 +205,7 @@ verbs.cpp version.cpp winmain.cpp zoom-context.cpp +${ONLY_WIN} ${algorithms} ${api} ${application} -- cgit v1.2.3