]> Dogcows Code - chaz/tint2/commitdiff
*fix* use /bin/sh because not every system has /bin/bash
authorAndreas Fink <andreas.fink85@googlemail.com>
Sun, 13 Jun 2010 12:27:56 +0000 (12:27 +0000)
committerAndreas Fink <andreas.fink85@googlemail.com>
Sun, 13 Jun 2010 12:27:56 +0000 (12:27 +0000)
*fix* issue 261

CMakeLists.txt
get_svnrev.sh

index 8ef88ad809b2da30d38d43d82e9fbf0c373d5021..4b40a6c8f207f0887fd29cfab3c84555d5f39d63 100644 (file)
@@ -12,6 +12,8 @@ pkg_check_modules( GOBJECT2 REQUIRED gobject-2.0 )
 pkg_check_modules( IMLIB2 REQUIRED imlib2 )
 find_library( RT_LIBRARY rt )
 
+string( REPLACE ";" " " FLAGS_REPLACED "${FLAGS}" )
+set( CMAKE_REQUIRED_FLAGS "${FLAGS_REPLACED}" )
 check_library_exists( "${IMLIB2_LIBRARIES}" "imlib_context_set_display" "${IMLIB2_LIBRARY_DIRS}" IMLIB_BUILD_WITH_X )
 if( NOT IMLIB_BUILD_WITH_X )
   message( FATAL_ERROR "Imlib is not build with x support" )
index b537a60ce03e08692114520e1ba17804763ff2c1..8e6c85e3763844812f3b0129d6a798dfc503226a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 FALLBACK=\"0.10-svn\"
 
This page took 0.023144 seconds and 4 git commands to generate.