Skip to content

Commit c138933

Browse files
committed
Merge pull request open-source-parsers#26 from alex-ac/master
Fix CMake subproject behaviour. Sweet. But doesn't this assume that people call the subproject `jsoncpp`? It used to be `json-cpp`.
2 parents 740e020 + b3deb61 commit c138933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ macro(UseCompilationWarningAsError)
7171
endmacro()
7272

7373
# Include our configuration header
74-
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/include )
74+
INCLUDE_DIRECTORIES( ${jsoncpp_SOURCE_DIR}/include )
7575

7676
if ( MSVC )
7777
# Only enabled in debug because some old versions of VS STL generate

0 commit comments

Comments
 (0)