1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/tools/X11/virtualgl/fixturbopath.patch
Arie Middelkoop 3f1054b1ec Added 'bumblebee', a package that facilitates NVidia Optimus graphics with X11.
Note: it relies heavily on 'virtualgl'. This also makes the approach taken
by bumblebee not very effective.
So, this package is actually mainly useful for shutting down your card so that
it does not consume power/produce heat.

See the comments in bumblebee/default.nix

svn path=/nixpkgs/trunk/; revision=32036
2012-02-05 00:51:35 +00:00

17 lines
648 B
Diff

--- VirtualGL-2.3/cmakescripts/FindTurboJPEG.cmake.orig 2012-02-02 17:33:49.496283001 +0100
+++ VirtualGL-2.3/cmakescripts/FindTurboJPEG.cmake 2012-02-02 17:44:18.772483239 +0100
@@ -40,8 +40,11 @@
endif()
endif()
-set(TJPEG_LIBRARY ${DEFAULT_TJPEG_LIBRARY} CACHE PATH
- "TurboJPEG library path (default: ${DEFAULT_TJPEG_LIBRARY})")
+if(NOT TJPEG_LIBRARY)
+ message(STATUS "TJPEG_LIBRARY environment variable not set")
+ set(TJPEG_LIBRARY ${DEFAULT_TJPEG_LIBRARY} CACHE PATH
+ "TurboJPEG library path (default: ${DEFAULT_TJPEG_LIBRARY})")
+endif()
if(WIN32)
set(CMAKE_REQUIRED_DEFINITIONS -MT)