project_files/hwc/CMakeLists.txt
changeset 15362 c8f37fc9c266
parent 15361 5c0479d0ed5b
child 15555 107170c05bac
equal deleted inserted replaced
15361:5c0479d0ed5b 15362:c8f37fc9c266
    70     set(pas2c_args ${pas2c_args} -d HWLIBRARY)
    70     set(pas2c_args ${pas2c_args} -d HWLIBRARY)
    71 endif()
    71 endif()
    72 if(GL2)
    72 if(GL2)
    73     set(pas2c_args ${pas2c_args} -d GL2)
    73     set(pas2c_args ${pas2c_args} -d GL2)
    74 endif()
    74 endif()
       
    75 if(APPLE)
       
    76     set(pas2c_args ${pas2c_args} -d DARWIN)
       
    77 endif()
    75 
    78 
    76 if(LIBAV_FOUND)
    79 if(LIBAV_FOUND)
    77     add_subdirectory(${CMAKE_SOURCE_DIR}/hedgewars/avwrapper ${CMAKE_CURRENT_BINARY_DIR}/avwrapper)
    80     add_subdirectory(${CMAKE_SOURCE_DIR}/hedgewars/avwrapper ${CMAKE_CURRENT_BINARY_DIR}/avwrapper)
    78     list(APPEND HW_LINK_LIBS avwrapper)
    81     list(APPEND HW_LINK_LIBS avwrapper)
    79     set(pas2c_args ${pas2c_args} -d USE_VIDEO_RECORDING)
    82     set(pas2c_args ${pas2c_args} -d USE_VIDEO_RECORDING)