mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-27 01:29:38 +08:00
cmake: install SDL2::SDL2test when configuring with SDL2_TEST enabled
This commit is contained in:
committed by
Sam Lantinga
parent
ae2cc29f8b
commit
1087eaad7e
@@ -73,7 +73,7 @@ To use, set the following CMake variables when running CMake's configuration sta
|
||||
|
||||
- for iOS-Simulator, using the latest, installed SDK, and building SDL test apps (as .app bundles):
|
||||
|
||||
`cmake ~/sdl -DSDL_TEST=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64`
|
||||
`cmake ~/sdl -DSDL_TESTS=1 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphonesimulator -DCMAKE_OSX_ARCHITECTURES=x86_64`
|
||||
|
||||
- for tvOS-Simulator, using the latest, installed SDK:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user