diff options
author | Ray-V <ray-v@inbox.lv> | 2020-03-25 12:16:46 +0000 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-03-29 19:28:37 +0200 |
commit | 324c040645bcaa127717113a4a6cf6cf8693f938 (patch) | |
tree | 233cf0861da114ab74976b37cf15cc9cf2ea8a9e /CMakeLists.txt | |
parent | 51443b3e12e75b40f237543b5439709889cdfaa3 (diff) | |
download | tdeedu-324c040645bcaa127717113a4a6cf6cf8693f938.tar.gz tdeedu-324c040645bcaa127717113a4a6cf6cf8693f938.zip |
Enable kig python scripting for cmake build.
Fix detection of boost_python library for cmake build.
Use find_package( Python COMPONENTS ... ) for CMake >= 3.12.
Add WITH_KIG_PYTHON_SCRIPTING option.
This resolves issue #6.
Signed-off-by: Ray-V <ray-v@inbox.lv>
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e66b1b6..13e0c57b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,11 +43,13 @@ tde_setup_paths( ) ##### optional stuff option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) -option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) -option( WITH_ARTS "Enable aRts support" ${WITH_ALL_OPTIONS} ) -option( WITH_OCAML_SOLVER "Enable ocalm/facile solver (kalzium)" ${WITH_ALL_OPTIONS} ) -option( WITH_LIBUSB "Enable libusb support (kstars)" ${WITH_ALL_OPTIONS} ) -option( WITH_V4L "Enable video4linux support (kstars)" ${WITH_ALL_OPTIONS} ) + +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) +option( WITH_ARTS "Enable aRts support" ${WITH_ALL_OPTIONS} ) +option( WITH_OCAML_SOLVER "Enable ocalm/facile solver (kalzium)" ${WITH_ALL_OPTIONS} ) +option( WITH_LIBUSB "Enable libusb support (kstars)" ${WITH_ALL_OPTIONS} ) +option( WITH_V4L "Enable video4linux support (kstars)" ${WITH_ALL_OPTIONS} ) +option( WITH_KIG_PYTHON_SCRIPTING "Enable python scripting in kig" ${WITH_ALL_OPTIONS} ) ##### user requested modules |