mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge #3131
3131: Get CMake 2.8 working r=def- a=Learath2 It only required fixing one weird CMake 2.8 oddity. I guess we should merge this if we are keeping to claim 2.8 support. Co-authored-by: Learath2 <learath2@gmail.com>
This commit is contained in:
commit
e88a7dee0a
|
@ -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