Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
24410563
Commit
24410563
authored
Feb 12, 2019
by
Florian Oetke
Browse files
added missing GLOBAL to imported target
parent
afd71080
Changes
1
Hide whitespace changes
Inline
Side-by-side
dependencies/CMakeLists.txt
View file @
24410563
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment