equal
deleted
inserted
replaced
112 ) |
112 ) |
113 endif() |
113 endif() |
114 |
114 |
115 |
115 |
116 #lua discovery |
116 #lua discovery |
117 if (${LUA_SYSTEM}) |
117 if (LUA_SYSTEM) |
118 if (NOT LUA_LIBRARY OR NOT LUA_INCLUDE_DIR) |
118 if (NOT LUA_LIBRARY OR NOT LUA_INCLUDE_DIR) |
119 find_package(Lua) |
119 find_package(Lua) |
120 endif() |
120 endif() |
121 |
121 |
122 if (LUA_LIBRARY AND LUA_INCLUDE_DIR) |
122 if (LUA_LIBRARY AND LUA_INCLUDE_DIR) |
135 add_subdirectory(misc/liblua) |
135 add_subdirectory(misc/liblua) |
136 endif() |
136 endif() |
137 |
137 |
138 |
138 |
139 #physfs discovery |
139 #physfs discovery |
140 if (${PHYSFS_SYSTEM}) |
140 if (PHYSFS_SYSTEM) |
141 if (NOT PHYSFS_LIBRARY OR NOT PHYSFS_INCLUDE_DIR) |
141 if (NOT PHYSFS_LIBRARY OR NOT PHYSFS_INCLUDE_DIR) |
142 find_package(PhysFS) |
142 find_package(PhysFS) |
143 endif() |
143 endif() |
144 |
144 |
145 find_file(physfs_h physfs.h ${PHYSFS_INCLUDE_DIR}) |
145 find_file(physfs_h physfs.h ${PHYSFS_INCLUDE_DIR}) |