aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
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-012-0/+26
|
* 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-072-40/+9
| | | | | | 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.
* Add target_link_directory() compat functionPierre Ossman2022-06-071-0/+12
| | | | | | We need this function to deal with pkgconfig files properly, but unfortunately it doesn't exist until CMake 3.13, and we need to support CMake 3.10. So add a hacky compatibility function for older systems.
* Allow building with -DBUILD_VIEWER=OFFAlex Richardson2021-07-151-1/+1
| | | | | Without this change I get CMake errors due to use of ${FLTK_INCLUDE_DIR} and references to the non-existent vncviewer target.
* Fix bad library references for some static depsPierre Ossman2020-12-071-2/+2
|
* Add comment why unistring is linked dynamicallyPierre Ossman2020-12-071-0/+2
|
* Merge branch 'master' of https://github.com/mriphysicist/tigervncPierre Ossman2020-12-071-2/+47
|\
| * Update build system so it will compile on Windows 10.Danny Park2020-08-181-2/+47
| | | | | | | | | | | | With this commit, TigerVNC will compile for Windows using MSYS2, MinGW-w64 and Inno Setup 6. The resulting binaries have some dll dependencies (even with BUILD_STATIC). The required dll dependencies are not included in the installer. Unfortunately, the latest version of MSYS2 and MinGW-w64 do not produce a working executable for Windows 7.
* | Test packaging on TravisPierre Ossman2020-07-161-90/+0
|/ | | | Don't just build things, also test the various packaging.
* Merge branch 'regions' of https://github.com/CendioOssman/tigervncPierre Ossman2020-06-152-0/+41
|\
| * Switch region code to pixmanPierre Ossman2020-05-012-0/+41
| | | | | | | | | | This is the current upstream so let's make use of it to get the latest in features and fixes.
| * Also link in math library in static buildPierre Ossman2020-05-011-1/+1
| | | | | | | | | | It's included by default in dynamic builds so we need to make sure it isn't lost when switching to static.
* | Implement touch gesture handling on UnixAaron Sowry2020-05-291-2/+2
| | | | | | | | | | Allows the user to perform certain important mouse operations using touch gestures instead.
* | Implement X Input pointer handling for UnixAaron Sowry2020-05-291-0/+3
|/ | | | | | | | Switch from using Core events to using X Input events for pointer devices in order to differentiate between mouse events and touch events. Because FLTK doesn't understand X Input 2, we intercept these events and translate them to core events where possible.
* Use standard install dir variable namesPierre Ossman2020-03-121-2/+2
| | | | | This makes our builds directly compatible with most distributions without packagers/users having to specify extra flags.
* Fix C linking when doing static buildsPierre Ossman2020-03-121-2/+3
|
* Include Carbon when statically linking gettext on macOSPierre Ossman2020-01-301-0/+3
| | | | | As gettext needs some stuff from Carbon and we don't want to rely on it being pulled in as a side effect.
* Fix link order of nettle and hogweedPierre Ossman2019-12-091-1/+1
| | | | | Hogweed needs nettle, not the other way around. So make sure they are specified in the correct order for the static link to succeed.
* Include libuuid in static buildsPierre Ossman2019-01-091-1/+1
| | | | Modern fontconfig needs it, so make sure it is included.
* Link zlib statically on all platformsPeter Åstrand (astrand)2018-09-191-4/+1
| | | | | The API and ABI isn't as stable as we need, so it isn't safe to link it dynamically even on Linux.
* Add RandR support for x0vncserverPeter Åstrand (astrand)2018-04-091-0/+3
| | | | | | | | Change Xserver screen through libXrandr. For complex configurations, all outputs must have corresponding size modes. As a special case, if the client requests a single screen with an odd size (for example when adjusting the size of a non-fullscreen vncviewer), find a smaller suitable mode, and reduce the framebuffer size as well.
* Rename README.txt to README.rst and convert to reStructuredTextPeter Åstrand (astrand)2018-01-311-1/+1
|
* 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.
* Add libpng as a dependency for freetype for static buildsPierre Ossman2017-08-241-1/+1
| | | | Newer versions of Freetype requires libpng as well.
* 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.
* Add option to enable thread sanitizerPierre Ossman2015-11-271-0/+7
|
* Allow static linking against only the GCC libsDRC2015-10-271-1/+7
|
* Add address sanitizer switchPierre Ossman2015-09-291-0/+3
| | | | | | Useful for debugging memory leaks and access violations. It is not available on Windows though, and there is some problem compiling ObjectiveC++ with it turned on.
* 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.
* Merge branch 'upreqs' of https://github.com/CendioOssman/tigervncPierre Ossman2015-03-121-1/+1
|\ | | | | | | | | | | Conflicts: contrib/packages/rpm/el5/SPECS/tigervnc.spec vncviewer/Viewport.cxx
| * Drop bundled zlibPierre Ossman2015-02-031-1/+1
| | | | | | | | | | We're not doing a sufficient job of keeping this updated so list it as an external requirement instead.
* | Merge branch 'perf' of https://github.com/CendioOssman/tigervncPierre Ossman2015-02-131-2/+6
|\ \
| * | GnuTLS needs socket libraries so include them in the static linkPierre Ossman2015-02-131-2/+6
| |/
* / Build fixes for modern versions of binutils.Peter Åstrand (astrand)2015-02-101-2/+2
|/ | | | Need to explicitly list DSOs.
* Static build fix - only attempt to link against libtasn1 if it's presentBrian P. Hinz2014-11-041-1/+6
| | | | | GnuTLS may be compiled without external libtasn1, so we shouldn't try to link against it unless it's actually present.
* Back out previous changeBrian P. Hinz2014-11-041-6/+1
| | | | Needed to merge upstream changes in before creating pull request.
* Merge remote-tracking branch 'upstream/master' into buildfixesBrian P. Hinz2014-11-032-26/+79
|\
| * Handle mingw circular dependencies in base librariesPierre Ossman2014-11-031-1/+5
| | | | | | | | Our link order should now match the built-in library list.
| * 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.
| * Use dynamic builds by defaultPierre Ossman2014-10-281-1/+1
| | | | | | | | | | Static builds are the special case, so it should be left off by default.
| * Include gettext and zlib in static GnuTLS linkPierre Ossman2014-10-281-0/+9
| | | | | | | | | | This is needed to make sure they are always included, and in the proper order.