File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 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
55 )
66
77if (BUILD_SHARED_LIBS )
8- add_compile_definitions ( -DJSON_DLL )
8+ add_compile_definitions ( JSON_DLL )
99endif ()
1010target_link_libraries (jsontestrunner_exe jsoncpp_lib)
1111
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ endif()
3434
3535if (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 )
3838endif ()
3939
4040set ( JSONCPP_INCLUDE_DIR ../../include )
@@ -68,7 +68,7 @@ else(JSONCPP_WITH_CMAKE_PACKAGE)
6868endif ()
6969
7070if (BUILD_SHARED_LIBS )
71- add_compile_definitions ( -DJSON_DLL_BUILD )
71+ add_compile_definitions ( JSON_DLL_BUILD )
7272endif ()
7373
7474
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ add_executable( jsoncpp_test
88
99
1010if (BUILD_SHARED_LIBS )
11- add_compile_definitions ( -DJSON_DLL )
11+ add_compile_definitions ( JSON_DLL )
1212endif ()
1313target_link_libraries (jsoncpp_test jsoncpp_lib)
1414
You can’t perform that action at this time.
0 commit comments