Skip to content

Commit

Permalink
one more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jul 28, 2020
1 parent d51d7b9 commit 6400614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/clib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ foreach(x IN LISTS cppdefs)
string(APPEND CPPFLAGS " -D${x}")
endforeach()
foreach(x IN LISTS includes)
string(APPEND CPPFLAGS " -I${x}")
if (x)
string(APPEND CPPFLAGS " -I${x}")
endif()
endforeach()
set(CPPFLAGS ${CPPFLAGS} PARENT_SCOPE)
4 changes: 3 additions & 1 deletion src/flib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ foreach(x IN LISTS fppdefs)
string(APPEND FPPFLAGS " -D${x}")
endforeach()
foreach(x IN LISTS fincludes)
string(APPEND FPPFLAGS " -I${x}")
if (x)
string(APPEND FPPFLAGS " -I${x}")
endif()
endforeach()
set(FPPFLAGS ${FPPFLAGS} PARENT_SCOPE)

0 comments on commit 6400614

Please sign in to comment.