Skip to content
Snippets Groups Projects
Commit 99834990 authored by Zhao Zhili's avatar Zhao Zhili Committed by Steve Lhomme
Browse files

contrib: support CMAKE_GENERATOR other than makefile


First, fix the conflict setting/using of CMAKE_GENERATOR. Second,
call build via cmake instead of run make directly.

Signed-off-by: Alexandre Janniaux's avatarAlexandre Janniaux <ajanni@videolabs.io>
(cherry picked from commit c74a77e7) (edited)
edited:
- only use the patch for glew that is now built with CMake
parent 220091ac
No related branches found
No related tags found
Loading
......@@ -18,5 +18,5 @@ glew: glew-$(GLEW_VERSION).tgz .sum-glew
.glew: glew toolchain.cmake
cd $</build/cmake && $(HOSTVARS_PIC) $(CMAKE) -DBUILD_SHARED_LIBS:BOOL=OFF -DGLEW_USE_STATIC_LIBS:BOOL=ON
cd $</build/cmake && $(MAKE) install
cd $</build/cmake && $(CMAKEBUILD) . --target install
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment