Gleb Mazovetskiy
11dfb9daff
cmake/FindOSGPlugins: Support lib-prefixed plugins
...
With a regular OSG build, the plugin names are prefixed with
`lib`, e.g. `libosgdb_jpeg.a` for a static build.
However, on Debian on Ubuntu they are not.
With this commit we now try both options.
Fixes #5972
Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
4 years ago
Gleb Mazovetskiy
823e7bea38
Fix MyGUI detection
...
`libfind_pkg_detect` used `pkg_check_modules`, which requires all the
given modules to be found.
This means it always failed for MyGUI, which passes
`MyGUI${MYGUI_STATIC_SUFFIX} MYGUI${MYGUI_STATIC_SUFFIX}` to it.
Replaces `pkg_check_modules` with `pkg_search_module`, which finds the
first match instead.
4 years ago
wareya
18ef32ca82
values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset
4 years ago
Bret Curtis
7954dccb44
lz4 prep work; get linux and windows ready
4 years ago
psi29a
7300496a5f
Delete FindFreetype.cmake; as it is provided by cmake as of 3.0.2 and we require 3.1.0.
5 years ago
psi29a
5c3496fb15
Delete FindBullet.cmake; we use cmake's version which has been available since 3.0.2 and we have a requirement of 3.1.0
...
https://cmake.org/cmake/help/v3.0/module/FindBullet.html
5 years ago
AnyOldName3
2f8c5ef09d
Use a generator expression to specify the debugger working directory
5 years ago
AnyOldName3
a58a8db030
Uncomment commented lines
6 years ago
AnyOldName3
9067731a96
Adapt to CMake 3.13's new meaning of OSGDB_LIBRARY (i.e. that it can now be a list) while allowing for the possibility that the found libraries may be in different directories when debug and optimised versions exist.
6 years ago
elsid
ef631a0961
Add dependency for GMock
6 years ago
Doc West
467989cdd5
Moved crashcatcher to a component and also use it in CS
...
Reworked debugger detection (failed on gdb 7.11), it now uses /proc to detect the debugger
7 years ago
Cédric
7cafec9861
Add support for msvc with cmake version pre 3.9 ( fixes #4429 )
7 years ago
bret curtis
4890ecd357
remove native GLESv* support, as it never worked; make things less complicated as result, fixed lighting.glsl to work with gl2es thanks to ptitSeb
7 years ago
Harald H
d3b623b5d3
http to https for supported urls ( #1625 )
...
* http to https for supported urls
* http to https
* http to https
* http to https
* http to https
* http to https
* http to https
* http to https
* http tp https
* http to https
* http to https
* http to https
* http to https
* http to https
* http to https
* http to https
* http to https
* some url fixes
* http to https
7 years ago
jbo-85
f896c9acb6
Fix search paths in FindSDL2.cmake to find SDL2 built from source
7 years ago
AnyOldName3
daf7d8451c
Switch to a more reliable method of passing the git-version targt the data it needs
7 years ago
AnyOldName3
a52c485090
Fix list length error
7 years ago
AnyOldName3
6af8ad70a5
Remove superfluous copy_all_files macro
7 years ago
AnyOldName3
76c4ff983a
Fix getting cmake property as variable
7 years ago
AnyOldName3
1f86fa3c31
Fix resource copying on non-MSVC targets
7 years ago
AnyOldName3
b00b94f0db
Use CMAKE_CONFIGURATION_TYPES instead of manually listing the possible configuration types.
7 years ago
AnyOldName3
f9a3562ccd
Remove duplicate macro definition and fix warning
7 years ago
AnyOldName3
5ceaaabeb2
Remove MESSAGE calls I accidentally left in
7 years ago
AnyOldName3
f8fe992dc0
Adjust CMake's run-time resource handling such that the Windows CI script does not have to copy these files
7 years ago
AnyOldName3
afbdc27a34
Move calls to cmake_minimum_required as early in the CMake process as possible.
7 years ago
AnyOldName3
de14e43680
Seemingly fix everything by setting policies that were unset upon entering the macro
7 years ago
AnyOldName3
33c77d7a2a
Try using cmake_parse_arguments to make the macro work
7 years ago
krizd
c9f099ce07
Change CMake version check to include 3.8
7 years ago
AnyOldName3
5ce34f1cbf
Move new behaviour into macro to reduce code duplication
7 years ago
Nikolay Kasyanov
7f429f26e1
Allow getting available version information even when clone is shallow
8 years ago
scrawl
b26478b860
Merge pull request #1028 from kpp/find_osg_plugins
...
Find osg_plugins
9 years ago
scrawl
ec14fe4d4c
Merge pull request #1026 from kpp/find_sphinx
...
Fix FindSphinx.cmake
9 years ago
Roman Proskuryakov
0d83121a6f
Removes unused FindPkgMacros
9 years ago
Roman Proskuryakov
95dc1258d6
Rewrites find_package for OpenSceneGraph plugins using LibFindMacros and osg_find_library
9 years ago
Roman Proskuryakov
ed2c2170f0
Rewrites FindSDL2 using LibFindMacros
9 years ago
Roman Proskuryakov
3df57b1833
Fixes LibFindMacros for libfind_process
9 years ago
Roman Proskuryakov
2311969f05
Reduce the number of copypaste in FindSphinx.cmake
9 years ago
scrawl
a44ba0e461
Merge pull request #966 from kpp/find_mygui
...
Find mygui
9 years ago
Roman Proskuryakov
e0e69a8d8a
Rewrites FindMyGUI with LibFindMacros
9 years ago
Bret Curtis
ac8d347e9e
we have html output and autodoc functionality
9 years ago
Roman Proskuryakov
39963a2c85
Removes PreprocessorUtils.cmake
...
Replaces get_version_from_n_defines -> libfind_version_n_header
9 years ago
Roman Proskuryakov
4d0544e61a
Adds FindTinyXML.cmake
9 years ago
Roman Proskuryakov
57b75d2cd1
Teaches LibFindMacros to find version from 'const int NAME = 42;'
9 years ago
Roman Proskuryakov
edb41b5b08
Rewrites FindLIBUNSHIELD using LibFindMacros
...
Renames LIBUNSHIELD_INCLUDE_DIR -> LIBUNSHIELD_INCLUDE_DIRS, LIBUNSHIELD_LIBRARY -> LIBUNSHIELD_LIBRARIES
9 years ago
Roman Proskuryakov
3bcd23022a
Rewrites FindBullet using LibFindMacros handling version properly
9 years ago
Roman Proskuryakov
280b20ccb7
Fix libfind_process for quiet packages
9 years ago
Roman Proskuryakov
f23b551bfa
Rename FFMPEG_SDK -> FFMPEG_HOME as it is said in wiki
...
Fix #942
9 years ago
Roman Proskuryakov
63ca8b73fc
fix: use Freetype in FindMYGUI instead of FREETYPE
9 years ago
Roman Proskuryakov
bd804d30a4
Rewrites FindFreetype using LibFindMacros
9 years ago
Roman Proskuryakov
da59ef0f67
Rewrites FindFFmpeg using LibFindMacros handling components properly
9 years ago