Fix CMake subproject behaviour.

This commit is contained in:
Aleksandr Derbenev 2014-08-09 22:21:33 +04:00 committed by Christopher Dunn
parent 740e0207b1
commit b3deb61f87

View File

@ -71,7 +71,7 @@ macro(UseCompilationWarningAsError)
endmacro()
# Include our configuration header
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/include )
INCLUDE_DIRECTORIES( ${jsoncpp_SOURCE_DIR}/include )
if ( MSVC )
# Only enabled in debug because some old versions of VS STL generate