Skip to content

Commit

Permalink
CMake: Fix test builds on MSVC (cuberite#4131)
Browse files Browse the repository at this point in the history
* Add test dependency missing for MSVC builds.

* Appveyor builds tests and tools
  • Loading branch information
peterbell10 authored and bearbin committed Jan 22, 2018
1 parent 7f4324f commit fa4844e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
version: 1.0.{build}
configuration: Debug
clone_depth: 50

before_build:
- echo %TIME%
- git submodule update --init
- echo %TIME%
- cmake -G "Visual Studio 12" .
- cmake -G "Visual Studio 12" -DSELF_TEST=1 -DBUILD_TOOLS=1 .
- echo %TIME%

build:
project: Cuberite.sln
parallel: true
Expand Down
1 change: 1 addition & 0 deletions tests/OSSupport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if (WIN32)
${OSSupport_SRCS}
${OSSupport_HDRS}
)
target_link_libraries(OSSupport PUBLIC fmt::fmt)
endif()

# Define individual tests:
Expand Down

0 comments on commit fa4844e

Please sign in to comment.