Skip to content

Commit 85f5b1c

Browse files
fixed typos
1 parent 8d2095a commit 85f5b1c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/jsontestrunner/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ add_executable(jsontestrunner_exe
55
)
66

77
if(BUILD_SHARED_LIBS)
8-
add_compile_definitions( -DJSON_DLL )
8+
add_compile_definitions( JSON_DLL )
99
endif()
1010
target_link_libraries(jsontestrunner_exe jsoncpp_lib)
1111

src/lib_json/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ endif()
3434

3535
if(NOT (HAVE_CLOCALE AND HAVE_LCONV_SIZE AND HAVE_DECIMAL_POINT AND HAVE_LOCALECONV))
3636
message(WARNING "Locale functionality is not supported")
37-
add_compile_definitions(-DJSONCPP_NO_LOCALE_SUPPORT)
37+
add_compile_definitions(JSONCPP_NO_LOCALE_SUPPORT)
3838
endif()
3939

4040
set( JSONCPP_INCLUDE_DIR ../../include )
@@ -68,7 +68,7 @@ else(JSONCPP_WITH_CMAKE_PACKAGE)
6868
endif()
6969

7070
if(BUILD_SHARED_LIBS)
71-
add_compile_definitions( -DJSON_DLL_BUILD )
71+
add_compile_definitions( JSON_DLL_BUILD )
7272
endif()
7373

7474

src/test_lib_json/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ add_executable( jsoncpp_test
88

99

1010
if(BUILD_SHARED_LIBS)
11-
add_compile_definitions( -DJSON_DLL )
11+
add_compile_definitions( JSON_DLL )
1212
endif()
1313
target_link_libraries(jsoncpp_test jsoncpp_lib)
1414

0 commit comments

Comments
 (0)