Mercurial > hg > orthanc
comparison Resources/CMake/MongooseConfiguration.cmake @ 391:2b189a3d8e94
fix
author | jodogne |
---|---|
date | Mon, 29 Apr 2013 12:41:47 +0200 |
parents | 9aa8ecbeeeb9 |
children | 0db2713b91d8 |
comparison
equal
deleted
inserted
replaced
389:9aa8ecbeeeb9 | 391:2b189a3d8e94 |
---|---|
37 CHECK_INCLUDE_FILE_CXX(mongoose.h HAVE_MONGOOSE_H) | 37 CHECK_INCLUDE_FILE_CXX(mongoose.h HAVE_MONGOOSE_H) |
38 if (NOT HAVE_MONGOOSE_H) | 38 if (NOT HAVE_MONGOOSE_H) |
39 message(FATAL_ERROR "Please install the mongoose-devel package") | 39 message(FATAL_ERROR "Please install the mongoose-devel package") |
40 endif() | 40 endif() |
41 | 41 |
42 CHECK_LIBRARY_EXISTS(mongoose "mg_start" HAVE_MONGOOSE_LIB) | 42 CHECK_LIBRARY_EXISTS(mongoose mg_start "" HAVE_MONGOOSE_LIB) |
43 if (NOT HAVE_MONGOOSE_LIB) | 43 if (NOT HAVE_MONGOOSE_LIB) |
44 message(FATAL_ERROR "Please install the mongoose-devel package") | 44 message(FATAL_ERROR "Please install the mongoose-devel package") |
45 endif() | 45 endif() |
46 | 46 |
47 link_libraries(mongoose) | 47 link_libraries(mongoose) |