[Kstars-devel] KDE/kdeedu
Pino Toscano
toscano.pino at tiscali.it
Tue Jan 30 12:40:47 CET 2007
SVN commit 628564 by pino:
Move the KStars-specific CMake checks and the related stuff to the kstars directory.
CCMAIL: kstars-devel at kde.org
M +0 -3 CMakeLists.txt
M +5 -0 kstars/CMakeLists.txt
--- trunk/KDE/kdeedu/CMakeLists.txt #628563:628564
@@ -10,13 +10,10 @@
macro_optional_find_package(OpenBabel2)
macro_optional_find_package(OpenGL)
macro_optional_find_package(Eigen)
-macro_optional_find_package(CFitsio)
-macro_optional_find_package(SBIG)
macro_log_feature(OPENGL_FOUND "OpenGL" "OpenGL is needed by Kalzium" "http://www.opengl.org" FALSE "" "")
macro_log_feature(OPENBABEL2_FOUND "OpenBabel2" "OpenBabel is needed by Kalzium" "http://openbabel.sourceforge.net/" FALSE "2.1" "")
macro_log_feature(EIGEN_FOUND "Eigen" "Eigen is needed by Kalzium" "http://eigen.tuxfamily.org" FALSE "1.0.1")
-macro_log_feature(SBIG_FOUND "libsbigudrv" "SBIG Universal Driver is needed by KStars" "http://indi.sourceforge.net/" FALSE "1.00" "")
# ZLIB is needed in KStars
find_package(ZLIB REQUIRED)
--- trunk/KDE/kdeedu/kstars/CMakeLists.txt #628563:628564
@@ -3,11 +3,16 @@
# some configure checks needed for kstars
include(CheckIncludeFiles)
+macro_optional_find_package(CFitsio)
+macro_optional_find_package(SBIG)
+
check_include_files(linux/videodev2.h HAVE_LINUX_VIDEODEV2_H)
check_include_files(termios.h TERMIOS_FOUND)
macro_bool_to_01(TERMIOS_FOUND HAVE_TERMIOS_H)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-kstars.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kstars.h )
+macro_log_feature(SBIG_FOUND "libsbigudrv" "SBIG Universal Driver is needed by KStars" "http://indi.sourceforge.net/" FALSE "1.00" "")
+
add_subdirectory( kstars )
More information about the Kstars-devel
mailing list