浏览代码

Allow patch to run on Linux

Kevin Wojniak 9 年之前
父节点
当前提交
b92dbcf0f9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/CMakeLists.txt

+ 1 - 1
test/CMakeLists.txt

@@ -7,7 +7,7 @@ endif()
 
 # We use the check unit testing framework for our C unit tests
 include(ExternalProject)
-if(APPLE)
+if(NOT WIN32)
   # Apply the patch to check to fix CMake building on OS X
   set(CHECK_PATCH_COMMAND patch
      ${CIVETWEB_THIRD_PARTY_DIR}/src/check-unit-test-framework/CMakeLists.txt