File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_G
2
2
#-Werror=* was introduced -after- GCC 4.1.2
3
3
add_compile_options ("-Werror=strict-aliasing" )
4
4
endif ()
5
- message ("lib_json CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS} " )
5
+ message (STATUS "lib_json CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS} " )
6
6
7
7
include (CheckIncludeFileCXX )
8
8
include (CheckTypeSize )
@@ -204,3 +204,4 @@ install(TARGETS ${CMAKE_TARGETS} ${INSTALL_EXPORT}
204
204
OBJECTS DESTINATION ${CMAKE_INSTALL_LIBDIR}
205
205
)
206
206
207
+ message (STATUS "lib_json2 CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS} " )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ add_executable(jsoncpp_test
8
8
main.cpp
9
9
)
10
10
11
- message ("test_lib_json CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS} " )
11
+ message (STATUS "test_lib_json CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS} " )
12
12
13
13
if (BUILD_SHARED_LIBS )
14
14
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12.0 )
@@ -38,3 +38,5 @@ if(JSONCPP_WITH_POST_BUILD_UNITTEST)
38
38
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $< TARGET_FILE:jsoncpp_test>
39
39
)
40
40
endif ()
41
+
42
+ message (STATUS "test_lib_json2 CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS} " )
You can’t perform that action at this time.
0 commit comments