[Kst] branches/work/kst/portto4/kst/cmake
Peter Kümmel
syntheticpp at gmx.net
Sat Jan 8 14:33:51 CET 2011
SVN commit 1212888 by kuemmel:
cmake: add option to suppress 3rd party plugins
M +5 -0 CMakeLists.txt
--- branches/work/kst/portto4/kst/cmake/CMakeLists.txt #1212887:1212888
@@ -17,6 +17,7 @@
kst_option(verbose "Make verbose CMake run and Makefiles" OFF all)
kst_option(install_prefix "Install path for Kst, using a default if not set" OFF all)
kst_option(console "Open console on Windows" OFF win)
+kst_option(3rdparty "Build plugins depending on 3rd party libraries" ON all)
message(STATUS)
@@ -36,12 +37,16 @@
endif()
message(STATUS)
+if(kst_3rdparty)
message(STATUS "3rd party libs for plugins--------------------")
find_package(Getdata)
find_package(Gsl)
find_package(Netcdf)
find_package(CFITSIO)
message(STATUS "----------------------------------------------")
+else()
+ message(STATUS "Building plugins depending on 3rd party libraries suppressed")
+endif()
message(STATUS)
More information about the Kst
mailing list