Revision: 4328
http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4328&view=rev
Author: ossman_
Date: 2011-03-08 13:06:46 +0000 (Tue, 08 Mar 2011)
Log Message:
-----------
Consolidate CMake modules includes at the top of the file.
Modified Paths:
--------------
trunk/CMakeLists.txt
Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt 2011-03-08 13:05:27 UTC (rev 4327)
+++ trunk/CMakeLists.txt 2011-03-08 13:06:46 UTC (rev 4328)
@@ -4,6 +4,11 @@
cmake_minimum_required(VERSION 2.6)
+include(CheckIncludeFiles)
+include(CheckFunctionExists)
+include(CheckTypeSize)
+include(CheckCSourceCompiles)
+
project(TigerVNC)
set(VERSION 1.0.90)
@@ -99,7 +104,6 @@
find_package(JPEG REQUIRED)
# Warn if it doesn't seem to be the accelerated libjpeg that's found
-include(CheckCSourceCompiles)
check_c_source_compiles("#include <stdio.h>\n#include <jpeglib.h>\nint
main(int c, char** v) { return JCS_EXT_RGBX; }" FOUND_JPEG_TURBO)
if(NOT FOUND_JPEG_TURBO)
message(STATUS "WARNING: You are not using libjpeg-turbo. Performance will
suffer.")
@@ -114,9 +118,6 @@
endif()
# Generate config.h
-include(CheckIncludeFiles)
-include(CheckFunctionExists)
-include(CheckTypeSize)
if(WIN32)
set(CMAKE_EXTRA_INCLUDE_FILES winsock2.h ws2tcpip.h)
set(CMAKE_REQUIRED_LIBRARIES ws2_32)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits