mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Get CMake 2.8 working
This commit is contained in:
parent
2edec49c2f
commit
4f573964c7
|
@ -28,6 +28,10 @@ include(FindPackageHandleStandardArgs)
|
|||
find_package_handle_standard_args(SQLite3 DEFAULT_MSG SQLite3_INCLUDEDIR SQLite3_LIBRARY)
|
||||
mark_as_advanced(SQLite3_INCLUDEDIR SQLite3_LIBRARY)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 3.0 AND SQLITE3_FOUND)
|
||||
set(SQLite3_FOUND TRUE)
|
||||
endif()
|
||||
|
||||
if(SQLite3_FOUND)
|
||||
is_bundled(SQLite3_BUNDLED "${SQLite3_LIBRARY}")
|
||||
set(SQLite3_LIBRARIES ${SQLite3_LIBRARY})
|
||||
|
|
Loading…
Reference in a new issue