When the gfx debugger is saving shaders make sure the directory exists.

Make sure the gfx debugger unpauses when the emulator is stopped.
When a wad is installed make sure directories exist.
For the cmake build if a header is not provided in the check_lib macro don't check for it, and assume pkg-config was supposed to work.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6581 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-12-14 23:19:34 +00:00
parent 35fef1f173
commit 76d9209ad4
7 changed files with 17 additions and 12 deletions

View File

@ -34,7 +34,11 @@ macro(check_lib var lib)
_internal_message("${lib} found")
else()
find_library(${var} ${lib})
find_path(${var}_INCLUDE ${_arg_list})
if(_arg_list)
find_path(${var}_INCLUDE ${_arg_list})
else()
set(${var}_INCLUDE FALSE)
endif()
if(${var} AND ${var}_INCLUDE)
include_directories(${${var}_INCLUDE})
_internal_message("${lib} found")