equal
deleted
inserted
replaced
147 add_definitions(-dLUA_INTERNAL) |
147 add_definitions(-dLUA_INTERNAL) |
148 list(APPEND HW_LINK_LIBS lua) |
148 list(APPEND HW_LINK_LIBS lua) |
149 add_flag_append(CMAKE_Pascal_FLAGS "-XLAlua=${lua_output_name}") |
149 add_flag_append(CMAKE_Pascal_FLAGS "-XLAlua=${lua_output_name}") |
150 endif() |
150 endif() |
151 |
151 |
152 if(PHYSFS_SYSTEM) |
152 if(PHYSFS_FOUND AND PHYSFS_SYSTEM) |
153 get_filename_component(PHYSFS_LIBRARY_DIR ${PHYSFS_LIBRARY} PATH) |
153 get_filename_component(PHYSFS_LIBRARY_DIR ${PHYSFS_LIBRARY} PATH) |
154 add_flag_append(CMAKE_Pascal_FLAGS "-Fl${PHYSFS_LIBRARY}") |
154 add_flag_append(CMAKE_Pascal_FLAGS "-Fl${PHYSFS_LIBRARY}") |
155 else() |
155 else() |
156 add_definitions(-dPHYSFS_INTERNAL) |
156 add_definitions(-dPHYSFS_INTERNAL) |
157 list(APPEND HW_LINK_LIBS physfs) |
157 list(APPEND HW_LINK_LIBS physfs) |