Skip to content

Commit a528bbf

Browse files
committed
try windows build fix
1 parent c99ea28 commit a528bbf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bundle/init.janet

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,16 @@
6363
(jnt/declare-cmake :name "cfltk"
6464
:source-dir "cfltk"
6565
:build-dir cfltk-build-dir
66-
:cmake-flags cmake-flags))
66+
:cmake-flags cmake-flags
67+
:build-type "Release"))
6768

6869
(defn- copy-static-libs []
69-
(sh/copy (string/format "%s/%s" cfltk-build-dir cfltk-lib) (string/format "./jfltk/%s" cfltk-lib))
70+
(sh/copy-file (string/format "%s/%s" cfltk-build-dir cfltk-lib) (string/format "./jfltk/%s" cfltk-lib))
7071
(loop [fname :in fltk-libs]
7172
(let [fullname (string/format "%s/%s" fltk-build-dir fname)
7273
outname (string/format "./jfltk/%s" fname)]
7374
(when (sh/exists? fullname)
74-
(sh/copy fullname outname)))))
75+
(sh/copy-file fullname outname)))))
7576

7677
(defn- clean-static-libs []
7778
(loop [fname :in (sh/list-all-files "jfltk")]

0 commit comments

Comments
 (0)