From 85f5b1c8f90cda5afd15cdcd01c825815e7fbe04 Mon Sep 17 00:00:00 2001 From: Olivier LIESS Date: Mon, 3 Jun 2019 16:28:56 +0200 Subject: [PATCH] fixed typos --- src/jsontestrunner/CMakeLists.txt | 2 +- src/lib_json/CMakeLists.txt | 4 ++-- src/test_lib_json/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jsontestrunner/CMakeLists.txt b/src/jsontestrunner/CMakeLists.txt index cb8ce50..023a44e 100644 --- a/src/jsontestrunner/CMakeLists.txt +++ b/src/jsontestrunner/CMakeLists.txt @@ -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) diff --git a/src/lib_json/CMakeLists.txt b/src/lib_json/CMakeLists.txt index a8d0733..034f438 100644 --- a/src/lib_json/CMakeLists.txt +++ b/src/lib_json/CMakeLists.txt @@ -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() diff --git a/src/test_lib_json/CMakeLists.txt b/src/test_lib_json/CMakeLists.txt index 999d3e8..a8740da 100644 --- a/src/test_lib_json/CMakeLists.txt +++ b/src/test_lib_json/CMakeLists.txt @@ -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)