duktape depends on math library (fix #1139)

This commit is contained in:
David Capello 2016-05-24 12:54:09 -03:00
parent 720bd349e3
commit a1a60dcaf4

View File

@ -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)