Skip to content
Snippets Groups Projects
Commit 5be447c5 authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Pass RANLIB and AR to cryptlib as well on Win32

parent 2c6d4c7b
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ find_program(ENV_PATH NAMES env REQUIRED) ...@@ -10,7 +10,7 @@ find_program(ENV_PATH NAMES env REQUIRED)
find_program(SH_PATH NAMES sh REQUIRED) find_program(SH_PATH NAMES sh REQUIRED)
if(CMAKE_C_COMPILER MATCHES "mingw") if(CMAKE_C_COMPILER MATCHES "mingw")
set(MAKE_FLAGS MINGW32_NT-6.1 OSNAME=win32) set(MAKE_FLAGS MINGW32_NT-6.1 OSNAME=win32 RANLIB=${CMAKE_RANLIB} AR=${CMAKE_AR} CC=${CMAKE_C_COMPILER})
set(BUILD_CMD ${MAKE_PATH} ${MAKE_FLAGS}) set(BUILD_CMD ${MAKE_PATH} ${MAKE_FLAGS})
else() else()
if("$ENV{CMAKE_BUILD_PARALLEL_LEVEL}" STREQUAL "") if("$ENV{CMAKE_BUILD_PARALLEL_LEVEL}" STREQUAL "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment