mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 18:51:04 +08:00
fixed typos
This commit is contained in:
parent
8d2095af3c
commit
85f5b1c8f9
@ -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)
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user