emscripten/cmake/Modules
Sam Clegg 5c38582561
cmake: Default to installing into sysroot (#14293)
Assuming the user/project does not specify a CMAKE_INSTALL_PREFIX
to install to we can and should default to installing into the
emscripten sysroot.

Also, add a test that uses `cmake --install` to install a library and
the `finc_package` to find the library config.

This confirms that #6595 is fixed even though technicall the fix landed
in in #14291
2021-05-27 18:58:03 +02:00
..
Platform cmake: Default to installing into sysroot (#14293) 2021-05-27 18:58:03 +02:00
CMakeSystemSpecificInformation.cmake Fix a long-standing CMake toolchain issue where the toolchain was not able to specify a default suffix (.js) for generated executables and the suffix that was set got silently erased. Previously the default suffix was empty "", which meant all user CMakeLists.txt files had to explicitly specify the suffix. Fixing this adds support for CMake built-in check_function_exists() detection macro which is used e.g. by SDL2 CMakeLists.txt path. To build html files, add the directive 'SET(CMAKE_EXECUTABLE_SUFFIX ".html")' like before. 2014-07-10 19:45:30 +03:00
CheckTypeSize.c.in Override CMake CheckTypeSize. 2015-05-12 09:58:03 -04:00
CheckTypeSize.cmake Override CMake CheckTypeSize. 2015-05-12 09:58:03 -04:00
FindOpenAL.cmake Update FindOpenAL.cmake (#9830) 2019-11-14 15:07:36 -08:00
FindOpenGL.cmake Split library_gl.js into library_webgl.js and library_webgl2.js. (#8059) 2019-02-12 16:43:49 +02:00
TestBigEndian.cmake Override CMake TestBigEndian. 2015-05-10 00:20:34 -04:00