diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-12 01:25:51 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-12 15:09:18 +0200 |
commit | 04cb4996e22c1d95c1c839b6fb54d49272d5bbc0 (patch) | |
tree | 32a06345887b027e358c14fd56f346857282ef39 /tests | |
parent | fixed build (#5181) (diff) | |
download | cuberite-04cb4996e22c1d95c1c839b6fb54d49272d5bbc0.tar cuberite-04cb4996e22c1d95c1c839b6fb54d49272d5bbc0.tar.gz cuberite-04cb4996e22c1d95c1c839b6fb54d49272d5bbc0.tar.bz2 cuberite-04cb4996e22c1d95c1c839b6fb54d49272d5bbc0.tar.lz cuberite-04cb4996e22c1d95c1c839b6fb54d49272d5bbc0.tar.xz cuberite-04cb4996e22c1d95c1c839b6fb54d49272d5bbc0.tar.zst cuberite-04cb4996e22c1d95c1c839b6fb54d49272d5bbc0.zip |
Diffstat (limited to 'tests')
-rw-r--r-- | tests/BlockTypeRegistry/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tests/CompositeChat/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/Generating/CMakeLists.txt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/BlockTypeRegistry/CMakeLists.txt b/tests/BlockTypeRegistry/CMakeLists.txt index e81d5ff38..c4f3873d0 100644 --- a/tests/BlockTypeRegistry/CMakeLists.txt +++ b/tests/BlockTypeRegistry/CMakeLists.txt @@ -23,7 +23,7 @@ add_executable(BlockTypePaletteTest ${PROJECT_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp ${PROJECT_SOURCE_DIR}/src/OSSupport/File.cpp ) -target_link_libraries(BlockTypePaletteTest fmt::fmt jsoncpp_lib) +target_link_libraries(BlockTypePaletteTest fmt::fmt jsoncpp_static) # BlockTypeRegistryTest: Verify that the BlockTypeRegistry class works as intended: add_executable(BlockTypeRegistryTest @@ -48,7 +48,7 @@ add_executable(PalettedBlockAreaTest ${PROJECT_SOURCE_DIR}/src/StringUtils.cpp ${PROJECT_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp ) -target_link_libraries(PalettedBlockAreaTest fmt::fmt jsoncpp_lib) +target_link_libraries(PalettedBlockAreaTest fmt::fmt jsoncpp_static) # Extra files for BlockTypePalette test: file (COPY diff --git a/tests/CompositeChat/CMakeLists.txt b/tests/CompositeChat/CMakeLists.txt index 7bb65cfe7..a93ff9998 100644 --- a/tests/CompositeChat/CMakeLists.txt +++ b/tests/CompositeChat/CMakeLists.txt @@ -24,7 +24,7 @@ set (SRCS source_group("Shared" FILES ${SHARED_SRCS} ${SHARED_HDRS}) source_group("Sources" FILES ${SRCS}) add_executable(CompositeChat-exe ${SRCS} ${SHARED_SRCS} ${SHARED_HDRS}) -target_link_libraries(CompositeChat-exe jsoncpp_lib fmt::fmt) +target_link_libraries(CompositeChat-exe jsoncpp_static fmt::fmt) add_test(NAME CompositeChat-test COMMAND CompositeChat-exe) diff --git a/tests/Generating/CMakeLists.txt b/tests/Generating/CMakeLists.txt index 73352d34b..92307235f 100644 --- a/tests/Generating/CMakeLists.txt +++ b/tests/Generating/CMakeLists.txt @@ -161,7 +161,7 @@ add_library(GeneratorTestingSupport STATIC ${GENERATING_HDRS} ${STUBS} ) -target_link_libraries(GeneratorTestingSupport fmt::fmt jsoncpp_lib tolualib libdeflate) +target_link_libraries(GeneratorTestingSupport fmt::fmt jsoncpp_static tolualib libdeflate) source_group("Stubs" FILES ${STUBS}) source_group("Generating" FILES ${GENERATING_HDRS} ${GENERATING_SRCS}) |