From c1b3ece5ee3efd3b86ea06eae5f7c8dba89c2a1b Mon Sep 17 00:00:00 2001 From: verbalshadow Date: Sat, 5 Apr 2008 23:49:41 +0000 Subject: [PATCH] Cmake: Fix registrytool.cpp to compile on windows only --- src/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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} -- 2.30.2