Update build scripts

Make compiler happy.
This commit is contained in:
Tindy X committed 2020-05-29 19:36:18 +08:00
1 parent f30b3c7cbf
commit 09e13adaeb
5 files changed
+12 -12

No files matched your search

+2 -2
View File
@@ -3,10 +3,10 @@ find_path(DUKTAPE_INCLUDE_DIRS duktape.h)
find_library(DUKTAPE_LIBRARY duktape)
find_library(DUKTAPE_MODULE_LIBRARY duktape_module)
set(DUKTAPE_LIBRARIES "${DUKTAPE_LIBRARY} ${DUKTAPE_MODULE_LIBRARY}")
set(DUKTAPE_LIBRARIES "${DUKTAPE_LIBRARY}" "${DUKTAPE_MODULE_LIBRARY}")
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(DUKTAPE DEFAULT_MSG
DUKTAPE_INCLUDE_DIRS DUKTAPE_LIBRARY DUKTAPE_MODULE_LIBRARY)
mark_as_advanced(DUKTAPE_INCLUDE_DIRS DUKTAPE_LIBRARY)
mark_as_advanced(DUKTAPE_INCLUDE_DIRS DUKTAPE_LIBRARY DUKTAPE_MODULE_LIBRARY)