File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ add_library(PTSD STATIC
114114 ${INCLUDE_FILES}
115115)
116116target_link_libraries (PTSD
117- SDL2::SDL2main # IDK what happens if we don't link SDL2main
118117 ${DEPENDENCY_LINK_LIBRARIES}
119118)
120119target_include_directories (PTSD SYSTEM PRIVATE
@@ -132,11 +131,14 @@ endif()
132131target_compile_options (PTSD PRIVATE
133132 ${TARGET_COMPILE_OPTIONS}
134133)
134+ set (DEPENDENCY_INCLUDE_DIRS ${DEPENDENCY_INCLUDE_DIRS} PARENT_SCOPE)
135+ set (DEPENDENCY_LINK_LIBRARIES ${DEPENDENCY_LINK_LIBRARIES} PARENT_SCOPE)
135136
136137add_executable (Example EXCLUDE_FROM_ALL
137138 ${EXAMPLE_FILES}
138139)
139140target_link_libraries (Example
141+ SDL2::SDL2main # IDK what happens if we don't link SDL2main
140142 PTSD
141143)
142144target_include_directories (Example SYSTEM PRIVATE
You can’t perform that action at this time.
0 commit comments