summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kbarcode/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/kbarcode/CMakeLists.txt b/kbarcode/CMakeLists.txt
index 4ba06a1..be08786 100644
--- a/kbarcode/CMakeLists.txt
+++ b/kbarcode/CMakeLists.txt
@@ -14,6 +14,9 @@ link_directories(
${TDE_LIB_DIR}
)
+if( WITH_JAVASCRIPT )
+ set( KJS_LIBRARIES kjs-shared )
+endif( )
##### kbarcode (executable)
@@ -56,7 +59,7 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC
tdeio-shared
tdeprint-shared
tdeabc-shared
- kjs-shared
+ ${KJS_LIBRARIES}
${PCRE2_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}