Skip to content

Commit

Permalink
fix(cmake): Set I3IPCPP_INCLUDE_DIRS in PARENT_SCOPE
Browse files Browse the repository at this point in the history
  • Loading branch information
skystrife committed Sep 1, 2018
1 parent d4e4786 commit 21ce906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC ${JSONCPP_INCLUDEDIR})
get_directory_property(HAS_PARENT PARENT_DIRECTORY)
if(HAS_PARENT)
set(I3IPCPP_LIBRARIES ${PROJECT_NAME} PARENT_SCOPE)
set(I3IPCPP_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/include ${JSONCPP_INCLUDEDIR})
set(I3IPCPP_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/include ${JSONCPP_INCLUDEDIR} PARENT_SCOPE)
endif()

# }}}
Expand Down

0 comments on commit 21ce906

Please sign in to comment.