Fix header check for DART

This commit is contained in:
KO Myung-Hun 2014-03-15 21:20:50 +09:00 committed by David Henningsson
parent 157368662b
commit c6b81a4041

View file

@ -181,7 +181,7 @@ if ( ${CMAKE_SYSTEM} MATCHES "OS2" )
set ( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Zbin-files" )
set ( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Zbin-files" )
if ( enable-dart )
check_include_file ( os2me.h HAVE_DART_H )
check_include_files ( "os2.h;os2me.h" HAVE_DART_H )
set ( DART_SUPPORT ${HAVE_DART_H} )
unset ( DART_INCLUDE_DIRS CACHE )
endif ( enable-dart )