Skip to content

Commit

Permalink
Set CMAKE_AR and CMAKE_RANLIB
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Feb 26, 2017
1 parent 6ac7e24 commit ce16585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deps/tools/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ CMAKE_COMMON += -DCMAKE_CXX_COMPILER="$(CXX_BASE)"
ifneq ($(strip $(CMAKE_CXX_ARG)),)
CMAKE_COMMON += -DCMAKE_CXX_COMPILER_ARG1="$(CMAKE_CXX_ARG)"
endif
CMAKE_COMMON += -DCMAKE_AR="$(shell which $(AR))" -DCMAKE_RANLIB="$(shell which $(RANLIB))"

ifeq ($(OS),WINNT)
CMAKE_COMMON += -DCMAKE_SYSTEM_NAME=Windows
Expand Down

0 comments on commit ce16585

Please sign in to comment.