summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorocielliottc <elliottc@objectcomputing.com>2022-10-31 06:31:48 -0500
committerGitHub <noreply@github.com>2022-10-31 06:31:48 -0500
commit3b311531bc011b24be35aaaf61641fade3e62017 (patch)
tree298aa9325b194f12b6a482b35725b55e3bab2d2e /templates
parentdf6fab372ee02e9dba8232014f95e33ae8f89ca9 (diff)
downloadMPC-3b311531bc011b24be35aaaf61641fade3e62017.tar.gz
Change target_include_directories and target_link_directories to be PRIVATE.
Co-authored-by: Fred Hornsey <hornseyf@objectcomputing.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/cmake.mpd4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/cmake.mpd b/templates/cmake.mpd
index fa2d6ffb..41a3b20c 100644
--- a/templates/cmake.mpd
+++ b/templates/cmake.mpd
@@ -106,11 +106,11 @@ set_target_properties(${PROJECT_TARGET} PROPERTIES <%uc(configuration)%>_POSTFIX
<%endif%>
<%if(includes)%>
-target_include_directories(${PROJECT_TARGET} PUBLIC <%env_includes%>)
+target_include_directories(${PROJECT_TARGET} PRIVATE <%env_includes%>)
<%endif%>
<%if(libpaths)%>
-target_link_directories(${PROJECT_TARGET} PUBLIC <%env_libpaths%>)
+target_link_directories(${PROJECT_TARGET} PRIVATE <%env_libpaths%>)
<%endif%>
<%if(pch_header)%>