mirror of https://github.com/encounter/SDL.git
cmake: fix location of SDL2::SDL2test imported library
This commit is contained in:
parent
181265ba71
commit
8a08d62ff7
|
@ -170,7 +170,7 @@ if(EXISTS "${_sdl2test_library}")
|
||||||
add_library(SDL2::SDL2test STATIC IMPORTED)
|
add_library(SDL2::SDL2test STATIC IMPORTED)
|
||||||
set_target_properties(SDL2::SDL2test
|
set_target_properties(SDL2::SDL2test
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
IMPORTED_LOCATION "_sdl2test_library"
|
IMPORTED_LOCATION "${_sdl2test_library}"
|
||||||
INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}"
|
INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}"
|
||||||
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
|
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue