mirror of
https://github.com/SWG-Source/stationapi.git
synced 2026-01-16 23:04:18 -05:00
Add messages regarding whether udplibrary has been detected or not
This commit is contained in:
@@ -17,8 +17,11 @@ include(GroupSourceByFilesystem)
|
||||
include(ModernCpp)
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
|
||||
if (EXISTS "externals/udplibrary/CMakeLists.txt")
|
||||
if (EXISTS "${PROJECT_SOURCE_DIR}/externals/udplibrary/CMakeLists.txt")
|
||||
message(STATUS "Detected udplibrary")
|
||||
set(HAVE_UDPLIBRARY 1)
|
||||
else()
|
||||
message(FATAL_ERROR "udplibrary required... copy from swg source to the externals directory")
|
||||
endif()
|
||||
|
||||
add_definitions(-DBOOST_ALL_NO_LIB)
|
||||
|
||||
Reference in New Issue
Block a user