Skip to content

Conversation

@johan-andruejol
Copy link
Contributor

VTK does not use JsonCpp_DIR. In an effort to be consistent across
projects, we should only refer to JsonCpp_INCLUDE_DIR and JsonCpp_LIBRARY.

This is futhermore reinforce that JsonCPP_DIR does NOT have to be defined
for GenerateCLP to work.

cc: @jcfr

@jcfr
Copy link
Member

jcfr commented Sep 7, 2016

Getting close 👍 ... looks like there is a last issue with CircleCI

CMake Error at GenerateCLP/CMakeLists.txt:163 (get_filename_component):
  get_filename_component called with incorrect number of arguments


-- Configuring incomplete, errors occurred!

VTK does not use JsonCpp_DIR. In an effort to be consistent across
projects, we should only refer to JsonCpp_INCLUDE_DIR and JsonCpp_LIBRARY.

This is futhermore reinforce that JsonCPP_DIR does NOT have to be defined
for GenerateCLP to work.
@johan-andruejol
Copy link
Contributor Author

@jcfr: I updated the code and now CircleCI passes. I'll merge if you don't have any objections.

@jcfr
Copy link
Member

jcfr commented Sep 7, 2016

Nice work. LGTM 👍

@johan-andruejol johan-andruejol merged commit 8692b09 into Slicer:master Sep 7, 2016
@johan-andruejol johan-andruejol deleted the UniformizeJsonCMake branch September 7, 2016 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants