Skip to content

Commit

Permalink
fix: fix build break when path has whitespaces
Browse files Browse the repository at this point in the history
Refs: #167
  • Loading branch information
mr-j0nes committed Aug 18, 2023
1 parent 1163e71 commit 04c72e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CheckGitDep.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ foreach( GMOD ${GIT_MODULES} )
if( EXISTS ${DEPDIR}/${GMOD}/CMakeLists.txt )
add_subdirectory( ${DEPDIR}/${GMOD} )
if( EXISTS ${DEPDIR}/${GMOD}/include )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I${DEPDIR}/${GMOD}/include" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I\"${DEPDIR}/${GMOD}/include\"")
else()
##
# this might cause some spurious includes, however, the alternative
Expand Down

0 comments on commit 04c72e0

Please sign in to comment.