-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
143 changed files
with
10,859 additions
and
24,236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
get_property(EXISTS GLOBAL PROPERTY _JSONCPP_INCLUDED) | ||
if(EXISTS) | ||
return() | ||
endif() | ||
|
||
find_package(JSONCPP 1.6.2) | ||
set_package_properties(JSONCPP PROPERTIES TYPE OPTIONAL) | ||
|
||
if (JSONCPP_FOUND) | ||
set_package_properties(JSONCPP PROPERTIES TYPE OPTIONAL) | ||
mark_as_advanced(CLEAR JSONCPP_INCLUDE_DIR) | ||
mark_as_advanced(CLEAR JSONCPP_LIBRARY) | ||
include_directories(${JSONCPP_INCLUDE_DIR}) | ||
set(PDAL_JSONCPP_LIB_NAME ${JSONCPP_LIBRARY}) | ||
set(PDAL_JSONCPP_INCLUDE_DIR ${JSONCPP_INCLUDE_DIR}) | ||
set(PDAL_HAVE_JSONCPP 1) | ||
else() | ||
unset(JSONCPP_INCLUDE_DIR CACHE) | ||
unset(JSONCPP_LIBRARY CACHE) | ||
unset(JSONCPP_ROOT_DIR CACHE) | ||
set(PDAL_JSONCPP_LIB_NAME pdal_jsoncpp) | ||
set(PDAL_JSONCPP_INCLUDE_DIR ${PDAL_VENDOR_DIR}/jsoncpp/dist) | ||
set(PDAL_JSONCPP_SRC ${PDAL_JSONCPP_INCLUDE_DIR}/jsoncpp.cpp) | ||
endif() | ||
|
||
set_property(GLOBAL PROPERTY _JSONCPP_INCLUDED TRUE) |
Oops, something went wrong.