diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-08-09 05:59:48 +0300 |
|---|---|---|
| committer | Alexander Golubev <fatzer2@gmail.com> | 2025-08-10 03:38:02 +0300 |
| commit | b3c87903a306483fbd6feb581674ef014d0556e8 (patch) | |
| tree | 418bfeb8139c918a60c4097e4e74fed7d1f4cba6 | |
| parent | fd06779f93512aa68988b165260941e6d3f1ff0f (diff) | |
| download | tdeedu-b3c87903.tar.gz tdeedu-b3c87903.zip | |
kig: fix build without scripting
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 1f644fbf744816bc4524ea2e4fc78eede6f64b93)
| -rw-r--r-- | kig/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kig/CMakeLists.txt b/kig/CMakeLists.txt index 40d738a2..23a5511d 100644 --- a/kig/CMakeLists.txt +++ b/kig/CMakeLists.txt @@ -9,9 +9,13 @@ add_subdirectory( tdefile ) add_subdirectory( data ) add_subdirectory( icons ) add_subdirectory( pykig ) -add_subdirectory( scripting ) add_subdirectory( examples ) +if( WITH_KIG_PYTHON_SCRIPTING ) + add_subdirectory( scripting ) + set( KIGSCRIPTING_LIBRARIES kigscripting-static ) +endif( ) + include_directories( ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR} @@ -25,7 +29,6 @@ link_directories( ${TDE_LIB_DIR} ) - ##### libkigpart (kpart) configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY ) @@ -43,7 +46,7 @@ tde_add_kpart( libkigpart AUTOMOC kigobjects-static kigfilters-static kigmodes-static - kigscripting-static + ${KIGSCRIPTING_LIBRARIES} EMBED kigpart-static |
