Skip to content

Commit 0a87ebe

Browse files
author
Petr Matousek
committed
fix cmake warnings
1 parent 36b0b07 commit 0a87ebe

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

src/api/qpid-proton/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PROJECT(dtests-proton-cpp)
22

3-
set(PROTON_DIR /usr CACHE String "QPID Proton base directory")
3+
set(PROTON_DIR /usr CACHE STRING "QPID Proton base directory")
44

55
include_directories(
66
${PROTON_DIR}/include
@@ -27,10 +27,10 @@ else ()
2727
endif ()
2828

2929

30-
cmake_policy(SET CMP0003 OLD)
30+
cmake_policy(SET CMP0003 NEW)
3131
add_library(
3232
dtests-proton-common
33-
33+
3434
common/ModernClient.cpp
3535
${MODERNClient_tracing_src}
3636
)
@@ -53,7 +53,7 @@ else (WIN32)
5353
)
5454
endif (WIN32)
5555

56-
cmake_policy(SET CMP0003 OLD)
56+
cmake_policy(SET CMP0003 NEW)
5757
add_library(
5858
dtests-proton-reactor
5959

@@ -104,7 +104,7 @@ set(proton-reactor-clients
104104
)
105105

106106
foreach(client ${proton-reactor-clients})
107-
cmake_policy(SET CMP0003 OLD)
107+
cmake_policy(SET CMP0003 NEW)
108108
add_executable(${client}
109109
clients/${client}.cpp
110110
)

src/common/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ else (WIN32)
6363
)
6464
endif (WIN32)
6565

66-
cmake_policy(SET CMP0003 OLD)
66+
cmake_policy(SET CMP0003 NEW)
6767
add_library(dtests-cpp-common-options
6868

6969
options/modern/StringAppendCallback.cpp

src/common/logger/test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PROJECT(dtests-proton-cpp-tests)
22

33
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/target/tests/bin)
44

5-
cmake_policy(SET CMP0003 OLD)
5+
cmake_policy(SET CMP0003 NEW)
66
add_executable(ut_logger_test
77
ut_logger_test.cpp
88
)
@@ -15,7 +15,7 @@ add_test(NAME LoggerTest
1515
COMMAND ut_logger_test)
1616

1717

18-
cmake_policy(SET CMP0003 OLD)
18+
cmake_policy(SET CMP0003 NEW)
1919
add_executable(ut_logger_test_stdout
2020
ut_logger_test_stdout.cpp
2121
)

src/common/options/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PROJECT(dtests-proton-cpp-options-tests)
22

33
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/target/tests/bin)
44

5-
cmake_policy(SET CMP0003 OLD)
5+
cmake_policy(SET CMP0003 NEW)
66
add_executable(ut_options_test
77
ut_options_test.cpp
88
)

src/common/output/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PROJECT(dtests-proton-cpp-tests)
22

33
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/target/tests/bin)
44

5-
cmake_policy(SET CMP0003 OLD)
5+
cmake_policy(SET CMP0003 NEW)
66
add_executable(ut_printer_test
77
ut_printer_test.cpp
88
)

src/common/test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PROJECT(dtests-proton-cpp-tests)
22

33
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/target/tests/bin)
44

5-
cmake_policy(SET CMP0003 OLD)
5+
cmake_policy(SET CMP0003 NEW)
66
add_executable(ut_beanutils_test
77
ut_beanutils_test.cpp
88
FakeBean.cpp
@@ -16,7 +16,7 @@ add_test(NAME BeanUtilsTest
1616
COMMAND ut_beanutils_test)
1717

1818

19-
cmake_policy(SET CMP0003 OLD)
19+
cmake_policy(SET CMP0003 NEW)
2020
add_executable(ut_stlutils_test
2121
ut_stlutils_test.cpp
2222
)

0 commit comments

Comments
 (0)