had trouble finding Python on Windows

With this change, `make jsoncpp_check` will still fail if Python
is missing, so our CI tests are unaffected.
This commit is contained in:
Christopher Dunn 2015-03-05 17:42:10 -06:00
parent 7ec98dc9fe
commit 2a840c105c

View File

@ -1,4 +1,4 @@
FIND_PACKAGE(PythonInterp 2.6 REQUIRED) FIND_PACKAGE(PythonInterp 2.6)
IF(JSONCPP_LIB_BUILD_SHARED) IF(JSONCPP_LIB_BUILD_SHARED)
ADD_DEFINITIONS( -DJSON_DLL ) ADD_DEFINITIONS( -DJSON_DLL )