fixed typos

This commit is contained in:
Olivier LIESS 2019-06-03 16:28:56 +02:00
parent 8d2095af3c
commit 85f5b1c8f9
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ add_executable(jsontestrunner_exe
)
if(BUILD_SHARED_LIBS)
add_compile_definitions( -DJSON_DLL )
add_compile_definitions( JSON_DLL )
endif()
target_link_libraries(jsontestrunner_exe jsoncpp_lib)

View File

@ -34,7 +34,7 @@ endif()
if(NOT (HAVE_CLOCALE AND HAVE_LCONV_SIZE AND HAVE_DECIMAL_POINT AND HAVE_LOCALECONV))
message(WARNING "Locale functionality is not supported")
add_compile_definitions(-DJSONCPP_NO_LOCALE_SUPPORT)
add_compile_definitions(JSONCPP_NO_LOCALE_SUPPORT)
endif()
set( JSONCPP_INCLUDE_DIR ../../include )
@ -68,7 +68,7 @@ else(JSONCPP_WITH_CMAKE_PACKAGE)
endif()
if(BUILD_SHARED_LIBS)
add_compile_definitions( -DJSON_DLL_BUILD )
add_compile_definitions( JSON_DLL_BUILD )
endif()

View File

@ -8,7 +8,7 @@ add_executable( jsoncpp_test
if(BUILD_SHARED_LIBS)
add_compile_definitions( -DJSON_DLL )
add_compile_definitions( JSON_DLL )
endif()
target_link_libraries(jsoncpp_test jsoncpp_lib)