QTfrontend/CMakeLists.txt
changeset 2443 fececcbc2189
parent 2428 6800f8aa0184
child 2515 51d3f4b6293a
equal deleted inserted replaced
2442:228757f6c54d 2443:fececcbc2189
    18 # Configure for SDL
    18 # Configure for SDL
    19 find_package(SDL REQUIRED)
    19 find_package(SDL REQUIRED)
    20 
    20 
    21 include_directories(.)
    21 include_directories(.)
    22 include_directories(${SDL_INCLUDE_DIR})
    22 include_directories(${SDL_INCLUDE_DIR})
       
    23 include_directories(${OPENAL_INCLUDE_DIR})
       
    24 include_directories(${PROJECT_SOURCE_DIR}/openalbridge/)
       
    25 
    23 if(UNIX)
    26 if(UNIX)
    24 	include_directories("/usr/local/include") # HACK: in freebsd cannot find iconv.h included via SDL.h
    27 	# HACK: in freebsd cannot find iconv.h included via SDL.h
       
    28 	include_directories("/usr/local/include")
    25 endif(UNIX)
    29 endif(UNIX)
    26 
    30 
    27 
    31 
    28 if(WIN32 AND NOT UNIX)
    32 if(WIN32 AND NOT UNIX)
    29 	set(HEDGEWARS_BINDIR ".")
    33 	set(HEDGEWARS_BINDIR ".")