summaryrefslogtreecommitdiff
path: root/templates/cmake.mpd
diff options
context:
space:
mode:
authorChad Elliott <elliottc@objectcomputing.com>2022-10-13 10:07:20 -0500
committerChad Elliott <elliottc@objectcomputing.com>2022-10-13 10:07:20 -0500
commit6540787330dc483d147939dadcc1185c08833d64 (patch)
tree9f9f22a955e2e52862198df0d382c7834c9eac40 /templates/cmake.mpd
parent544dccd46addc8c495704f861b156dc539f2289a (diff)
downloadMPC-6540787330dc483d147939dadcc1185c08833d64.tar.gz
Use env_includes to issue the find_package() function, as it will not have been modified to replace environment variables.
Diffstat (limited to 'templates/cmake.mpd')
-rw-r--r--templates/cmake.mpd6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/cmake.mpd b/templates/cmake.mpd
index 8a7269d8..7777e298 100644
--- a/templates/cmake.mpd
+++ b/templates/cmake.mpd
@@ -3,15 +3,15 @@ cmake_minimum_required(VERSION <%cmake_minimum_required(3.12.0)%>)
<%marker(top)%>
project(<%project_name%> <%language%>)
-<%if(contains(includes, DDS_ROOT))%>
+<%if(contains(env_includes, DDS_ROOT))%>
find_package(OpenDDS REQUIRED)
<%else%>
-<%if(contains(includes, TAO_ROOT))%>
+<%if(contains(env_includes, TAO_ROOT))%>
find_package(TAO REQUIRED)
<%else%>
-<%if(contains(includes, ACE_ROOT))%>
+<%if(contains(env_includes, ACE_ROOT))%>
find_package(ACE REQUIRED)
<%else%>