Commit 24410563 authored by Florian Oetke's avatar Florian Oetke
Browse files

added missing GLOBAL to imported target

parent afd71080
......@@ -38,7 +38,7 @@ if(MIRRAGE_PREFER_SYSTEM_SDL)
add_library(mirrage::deps::SDL2 ALIAS SDL2::SDL2)
add_library(mirrage::deps::SDL2main ALIAS SDL2::SDL2main)
else()
add_library(mirrage::deps::SDL2 INTERFACE IMPORTED)
add_library(mirrage::deps::SDL2 INTERFACE IMPORTED GLOBAL)
set_property(TARGET mirrage::deps::SDL2 PROPERTY INTERFACE_LINK_LIBRARIES ${SDL2_LIBRARY})
set_property(TARGET mirrage::deps::SDL2 PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${SDL2_INCLUDE_DIR})
endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment