Skip to content
Snippets Groups Projects
Commit b07ce402 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

tweak extra_cmake file location

parent 5f10fc30
Branches
Tags
No related merge requests found
Pipeline #61736 passed
...@@ -236,7 +236,7 @@ class _code(_base): ...@@ -236,7 +236,7 @@ class _code(_base):
outfile.write('add_executable({0} {0}.cpp)\n'.format(self.name)) outfile.write('add_executable({0} {0}.cpp)\n'.format(self.name))
outfile.write('target_link_libraries(' + self.name + ' ${TURTLE_STATIC_LIBRARY})\n') outfile.write('target_link_libraries(' + self.name + ' ${TURTLE_STATIC_LIBRARY})\n')
outfile.write('target_link_libraries(' + self.name + ' ${TURTLE_LIBS})\n') outfile.write('target_link_libraries(' + self.name + ' ${TURTLE_LIBS})\n')
fname = os.path.join('..', self.dns_type + '_extra_cmake.txt') fname = self.dns_type + '_extra_cmake.txt'
if os.path.exists(fname): if os.path.exists(fname):
with open(fname, 'r') as ifile: with open(fname, 'r') as ifile:
for text_line in ifile: for text_line in ifile:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment