]> Dogcows Code - chaz/tint2/blobdiff - CMakeLists.txt
*fix* use /bin/sh because not every system has /bin/bash
[chaz/tint2] / CMakeLists.txt
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" )
This page took 0.024579 seconds and 4 git commands to generate.