1
0
mirror of https://github.com/kakwa/uts-server synced 2024-11-11 12:08:54 +01:00
uts-server/cmake/Findlibcivetweb.cmake

12 lines
511 B
CMake
Raw Normal View History

2016-08-19 00:04:13 +02:00
if (NOT LIBCIVETWEB_LIBRARIES)
find_path(LIBCIVETWEB_INCLUDE_DIR civetweb.h ${_LIBCIVETWEB_PATHS} PATH_SUFFIXES include include/civetweb/)
endif ()
if (NOT LIBCIVETWE[DB_LIBRARIES)
if(LIBCIVETWEB_USE_STATIC_LIBS)
find_library(LIBCIVETWEB_LIBRARIES NAMES libcivetweb.a ${_LIBCIVETWEB_PATHS} PATH_SUFFIXES lib)
else(LIBCIVETWEB_USE_STATIC_LIBS)
find_library(LIBCIVETWEB_LIBRARIES NAMES civetweb ${_LIBCIVETWEB_PATHS} PATH_SUFFIXES lib)
endif(LIBCIVETWEB_USE_STATIC_LIBS)
2016-08-19 00:04:13 +02:00
endif ()