diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-08-20 11:48:10 +0300 |
|---|---|---|
| committer | Alexander Golubev <fatzer2@gmail.com> | 2025-08-20 11:49:25 +0300 |
| commit | 87107616b88b2b14f31806e1e77abf458a8875b8 (patch) | |
| tree | 10501005bc71675fd5f056238c0d024f6a5719ab | |
| parent | b3edda07d8473a9771d5a515ad67db26fb10e1ec (diff) | |
| download | kbarcode-87107616b88b2b14f31806e1e77abf458a8875b8.tar.gz kbarcode-87107616b88b2b14f31806e1e77abf458a8875b8.zip | |
Avoid linking with kjs if javascript support is dissabled
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
| -rw-r--r-- | kbarcode/CMakeLists.txt | 5 |
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} |
