Add messages regarding whether udplibrary has been detected or not

This commit is contained in:
apathy
2016-07-07 01:40:56 -07:00
parent 68b60ccb8b
commit 4af4a8ca16

View File

@@ -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)