aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Add fallback for finding gmpPierre Ossman2022-09-011-1/+5
| | | | | pkg-config support was added very recently to gmp, so a lot of platforms we want to support won't find gmp this way.
* Split gmp detection to separate modulePierre Ossman2022-09-012-4/+10
| | | | | It is a (weird) dependency of nettle, and not part of nettle itself. So split it to a separate module for clarity.
* Add support for RSA-AES security typespdlan2022-09-011-0/+20
|
* Find FFMPEG using pkg-configPierre Ossman2022-06-071-0/+17
| | | | | | This is the standard method of finding it on Unix systems, so make sure we use it. Still keep a fallback, though, for other systems, e.g. Windows.
* Use pkg-config for pixmanPierre Ossman2022-06-071-39/+8
| | | | | | This is the standard method of finding it on Unix systems, so make sure we use it. Still keep a fallback, though, for other systems, e.g. Windows.
* Switch region code to pixmanPierre Ossman2020-05-011-0/+40
| | | | | This is the current upstream so let's make use of it to get the latest in features and fixes.
* Improve test if library is a CMake targetPierre Ossman2017-10-061-2/+1
| | | | | Newer CMake complains when you try to get the property of something that isn't a target so use the specific if operator instead.
* Avoid getting LOCATION propertyPierre Ossman2017-10-061-3/+2
| | | | | It's not supported in newer CMake, so try to deduce the library filename from the target name.
* spelling fixesklemens2017-01-281-1/+1
|
* Update .la files on each buildPierre Ossman2016-12-151-0/+4
| | | | | This makes sure other build systems trigger properly, e.g. when building Xvnc.
* Set libdir in generated .la filesPierre Ossman2015-04-301-1/+1
| | | | | | | This is needed in order to get libtool to treat them as normal libraries and not "convenience libraries". The latter are linked with --whole-archive, which pulls a lot of unnecessary stuff into Xvnc and libvnc.so.
* Handle static linking flags in .la filesPierre Ossman2014-11-031-11/+28
|
* Handle arguments that have the -l prefixPierre Ossman2014-11-031-0/+6
|
* Split up any entries that contain multiple link argumentsPierre Ossman2014-11-031-0/+12
| | | | This happens sometimes in order to enforce a strict ordering.
* The output variable from find_library() needs to be clearedPierre Ossman2014-11-031-0/+4
| | | | | Otherwise you'll just get the initial response back every time you call it.
* Remove obsolete reference to staticlibPierre Ossman2014-11-031-4/+0
| | | | We don't use that directory anymore.
* Clean up GnuTLS linking and instructionsPierre Ossman2014-10-172-72/+0
| | | | | | | | | GnuTLS can have different crypto backends, and it is rarely gcrypt these days. So we should not be including that unconditionally, and should not be pointing people at it either. Also remove the section about Win32 binaries as those are out of date and probably insecure. Lastly remove the section about static builds as it is a general issue and in no way complete with just the GnuTLS portions.
* Fixes problems with cmake detection of GnuTLS. The current CMakeLists.txt ↵Brian Hinz2014-02-192-0/+72
| | | | | | uses check_function_exists to identify legacy versions of GnuTLS but cmake performs this test by linking a small test program. If libgnutls, libgcrypt, or libgpg-error are outside the default library search path, linking the test program fails even though gnutls and it's dependencies are installed. This patch makes it possible to specify the location of each of the three libraries independently and only as needed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5160 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use CMAKE_COMMAND variable instead of hard coded cmake executable name for ↵Brian Hinz2013-04-271-2/+2
| | | | | | better portability. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5088 3789f03b-4d11-0410-bbf8-ca57d06f2519
* (Re-)fix static Xvnc build. We can leverage the BUILD_STATIC option to ↵DRC2011-08-091-0/+4
| | | | | | modify our fake libtool scripts such that they pick up the static libstdc++.a. Unfortunately, adding -static-libgcc to those scripts makes libtool barf, so we still have to add that flag to LDFLAGS in build-xorg. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4614 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix several bugs in the generation of .la filesDRC2011-06-221-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4512 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Translate comments into English and remove blindingly obvious ones.DRC2011-06-221-28/+32
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4511 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Tabs to spacesDRC2011-06-221-31/+31
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4510 3789f03b-4d11-0410-bbf8-ca57d06f2519
* libtool control file should be created in binary directory, not source ↵DRC2011-06-091-4/+4
| | | | | | directory, to support out-of-tree builds. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4487 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - Fixed so the library suffix is platformindependentHenrik Andersson2011-06-091-1/+9
| | | | | | | | | | - Added custom commands to create .libs and symlink to static library so that autotools can actually find the library in expected place. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4484 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Building the Xvnc server requires libtool control files of rdr, rfb,Henrik Andersson2011-06-091-0/+92
| | | | | | | | | | | | | network and Xregion, which a cmake build will NOT produce, this macro tries to create a libtool control file *.la for the specified target with libdependencies for a static library target. Due to the automake part of Xvnc references to libtool files in source tree you need to build vncviewer using cmake in the source tree. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4482 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Finish up the gettext handling in CMake. The included functions in CMake onlyPierre Ossman2011-04-281-0/+66
take care of finding the gettext tools, not the headers and libraries needed to build things. Use the licq project as inspiration on how to solve this. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4389 3789f03b-4d11-0410-bbf8-ca57d06f2519