Skip to content

Commit

Permalink
ORC-227: Fix ExternalProject_Add parameter order for older cmakes.
Browse files Browse the repository at this point in the history
Fixes #155

Signed-off-by: Owen O'Malley <omalley@apache.org>
  • Loading branch information
Deepak Majeti authored and omalley committed Aug 14, 2017
1 parent 3ea22f3 commit 8759fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake_modules/ThirdpartyToolchain.cmake
Expand Up @@ -52,11 +52,11 @@ set (ZLIB_CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}

ExternalProject_Add (zlib_ep
URL ${ZLIB_SRC_URL}
BUILD_BYPRODUCTS "${ZLIB_STATIC_LIB}"
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_INSTALL 1
BUILD_BYPRODUCTS "${ZLIB_STATIC_LIB}"
CMAKE_ARGS ${ZLIB_CMAKE_ARGS})

include_directories (SYSTEM ${ZLIB_INCLUDE_DIRS})
Expand Down

0 comments on commit 8759fc5

Please sign in to comment.