Permalink
Browse files

Moved system info to cmake-support

  • Loading branch information...
1 parent 77730fe commit 351dd37d36e160c4325e3e25b3cc2cb02816bbda @pjotrp committed Apr 26, 2009
Showing with 2 additions and 7 deletions.
  1. +2 −7 CMakeLists.txt
View
@@ -83,7 +83,7 @@ SET(BUILD_SHARED_LIBS ${DEFAULT_BUILD_SHARED_LIBS} CACHE BOOL "Building shared o
# Documentation
if (BUILD_DOCS)
- FIND(APIDoc.cmake)
+ FIND_PACKAGE(APIDoc)
endif (BUILD_DOCS)
# Turn off chatty makefiles by default. To make them chatty again,
@@ -102,11 +102,6 @@ SET(THIRD_PARTY_INCLUDE_PATH "" CACHE PATH "Default search path for third-party
add_subdirectory (src)
include(src)
-# Some status information at build time
-message("CMake: ${CMAKE_CACHE_MAJOR_VERSION}.${CMAKE_CACHE_MINOR_VERSION}-${CMAKE_CACHE_RELEASE_VERSION}")
-message("SWIG: ${SWIG_EXECUTABLE} ${SWIG_VERSION}")
-message("System: ${CMAKE_SYSTEM_PROCESSOR} ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION}")
-message(" Build type: ${CMAKE_BUILD_TYPE} for ${CMAKE_HOST_SYSTEM_PROCESSOR}")
-EXECUTE_PROCESS(COMMAND /bin/date)
+FIND_PACKAGE(SystemInfo)

0 comments on commit 351dd37

Please sign in to comment.