mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 05:26:13 +01:00
Ensure public header path gets propagated to downstream targets
This commit is contained in:
1 parent
be2714672b
commit
39d7c47f04
2 files changed
+3
-3
No files matched your search
@@ -12,6 +12,9 @@ macro(csfml_add_library target)
|
||||
# create the target
|
||||
add_library(${target} ${THIS_SOURCES})
|
||||
|
||||
# add the CSFML header path
|
||||
target_include_directories(${target} PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
||||
|
||||
# define the export symbol of the module
|
||||
string(REPLACE "-" "_" NAME_UPPER "${target}")
|
||||
string(TOUPPER "${NAME_UPPER}" NAME_UPPER)
|
||||
|
||||
Reference in new issue
Block a user