[aseprite] 51/64: duktape depends on math library (fix #1139)

Tobias Hansen thansen at moszumanska.debian.org
Tue Jun 21 14:43:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit a1a60dcaf44e7c087cd3c4acc936c6e46c30bb1e
Author: David Capello <davidcapello at gmail.com>
Date:   Tue May 24 12:54:09 2016 -0300

    duktape depends on math library (fix #1139)
---
 src/script/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/script/CMakeLists.txt b/src/script/CMakeLists.txt
index 783d7d6..cb23cf8 100644
--- a/src/script/CMakeLists.txt
+++ b/src/script/CMakeLists.txt
@@ -6,4 +6,8 @@ include_directories(${DUKTAPE_DIR})
 add_library(duktape ${DUKTAPE_DIR}/duktape.c)
 add_library(script-lib engine.cpp)
 
+if(UNIX)
+  target_link_libraries(duktape m)
+endif()
+
 target_link_libraries(script-lib duktape)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list