From: verbalshadow Date: Sat, 5 Apr 2008 23:49:41 +0000 (+0000) Subject: Cmake: Fix registrytool.cpp to compile on windows only X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c1b3ece5ee3efd3b86ea06eae5f7c8dba89c2a1b;p=inkscape.git Cmake: Fix registrytool.cpp to compile on windows only --- 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}