Skip to content

Commit

Permalink
This adds the right way to get the JSON include path into the build. …
Browse files Browse the repository at this point in the history
  • Loading branch information
Seb James committed Nov 17, 2020
1 parent 57f4881 commit da09349
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,8 @@ include_directories(${HDF5_INCLUDE_DIR})
# Two possible values for the armadillo include dirs
include_directories(${ARMADILLO_INCLUDE_DIR} ${ARMADILLO_INCLUDE_DIRS})
include_directories(${GLFW3_INCLUDE_DIR})
if(APPLE)
include_directories(/usr/local/include)
endif()
get_target_property(JSON_INC_PATH jsoncpp_lib INTERFACE_INCLUDE_DIRECTORIES)
include_directories(${JSON_INC_PATH})

# New, text rendering dependencies
find_package(Freetype REQUIRED)
Expand Down

0 comments on commit da09349

Please sign in to comment.