File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ add_executable(jsontestrunner_exe
5
5
)
6
6
7
7
if (BUILD_SHARED_LIBS )
8
- add_compile_definitions ( -DJSON_DLL )
8
+ add_compile_definitions ( JSON_DLL )
9
9
endif ()
10
10
target_link_libraries (jsontestrunner_exe jsoncpp_lib)
11
11
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ endif()
34
34
35
35
if (NOT (HAVE_CLOCALE AND HAVE_LCONV_SIZE AND HAVE_DECIMAL_POINT AND HAVE_LOCALECONV))
36
36
message (WARNING "Locale functionality is not supported" )
37
- add_compile_definitions (-DJSONCPP_NO_LOCALE_SUPPORT )
37
+ add_compile_definitions (JSONCPP_NO_LOCALE_SUPPORT )
38
38
endif ()
39
39
40
40
set ( JSONCPP_INCLUDE_DIR ../../include )
@@ -68,7 +68,7 @@ else(JSONCPP_WITH_CMAKE_PACKAGE)
68
68
endif ()
69
69
70
70
if (BUILD_SHARED_LIBS )
71
- add_compile_definitions ( -DJSON_DLL_BUILD )
71
+ add_compile_definitions ( JSON_DLL_BUILD )
72
72
endif ()
73
73
74
74
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ add_executable( jsoncpp_test
8
8
9
9
10
10
if (BUILD_SHARED_LIBS )
11
- add_compile_definitions ( -DJSON_DLL )
11
+ add_compile_definitions ( JSON_DLL )
12
12
endif ()
13
13
target_link_libraries (jsoncpp_test jsoncpp_lib)
14
14
You can’t perform that action at this time.
0 commit comments