CMake: adds comments [ci skip]

This commit is contained in:
李通洲
2026-05-18 11:01:37 +08:00
parent bb79370d03
commit 68e75effab
+5 -1
View File
@@ -1695,13 +1695,17 @@ ff_lib_enable(LUA
"lua"
"Lua"
)
# https://github.com/quickjs-ng/quickjs/discussions/1493#discussioncomment-16955262
# ff_lib_enable(QUICKJS
# "qjs"
# "qjs"
# )
if(ENABLE_QUICKJS)
CHECK_INCLUDE_FILE("quickjs.h" HAVE_QUICKJS)
if(HAVE_QUICKJS)
target_compile_definitions(libfastfetch PRIVATE FF_HAVE_QUICKJS=1)
endif()
endif()
if(ENABLE_THREADS)
target_compile_definitions(libfastfetch PRIVATE FF_HAVE_THREADS=1)
if(CMAKE_USE_PTHREADS_INIT) #Threads::Threads is not set for WIN32