-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This eliminates various build system hacks. Among the platforms that TurboVNC currently supports, only RHEL 7 doesn't have CMake 3.16+ yet, and RHEL 7 will be EOL before TurboVNC 3.2 is released. Also, it's easy enough to install a newer version of CMake into a non-system directory if the system-supplied version isn't new enough. (Our official Linux build image already does that.) This commit also modifies the Xvnc build system so that it uses imported targets for OpenGL and OpenSSL. We don't use imported targets for the various X11 libraries, because doing so would necessitate calling target_link_libraries() to specify every dependency (including indirect dependencies) between every Xvnc module and every X11 library. That would make the build system more complex and error-prone. Imported targets are really more suitable for single-scope dependencies. This commit also significantly streamlines the TurboVNC Viewer build, in exchange for requiring CMake 3.21+. (The need to include a resource, namely the timestamp file, with no file extension and located under the build directory, necessitates the RESOURCES option to add_jar(), which was introduced in CMake 3.21.)
- Loading branch information
1 parent
3961a6c
commit 1ff6858
Showing
12 changed files
with
105 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.