simple cmake build error
This commit is contained in:
parent
fabc07d598
commit
cd82eed4ec
@ -1,19 +0,0 @@
|
|||||||
# Find package structure taken from libcurl
|
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
|
||||||
|
|
||||||
find_path(JSONCPP_INCLUDE_DIRS json/json.h)
|
|
||||||
find_library(JSONCPP_LIBRARY jsoncpp)
|
|
||||||
|
|
||||||
find_package_handle_standard_args(JsonCpp
|
|
||||||
FOUND_VAR
|
|
||||||
JSONCPP_FOUND
|
|
||||||
REQUIRED_VARS
|
|
||||||
JSONCPP_LIBRARY
|
|
||||||
JSONCPP_INCLUDE_DIRS
|
|
||||||
FAIL_MESSAGE
|
|
||||||
"Could NOT find jsoncpp"
|
|
||||||
)
|
|
||||||
|
|
||||||
set(JSONCPP_INCLUDE_DIRS ${JSONCPP_INCLUDE_DIRS})
|
|
||||||
set(JSONCPP_LIBRARIES ${JSONCPP_LIBRARY})
|
|
@ -257,8 +257,6 @@ install(EXPORT ixwebsocket
|
|||||||
DESTINATION lib/cmake/ixwebsocket)
|
DESTINATION lib/cmake/ixwebsocket)
|
||||||
|
|
||||||
if (USE_WS OR USE_TEST)
|
if (USE_WS OR USE_TEST)
|
||||||
add_subdirectory(ixcore)
|
|
||||||
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
FetchContent_Declare(spdlog
|
FetchContent_Declare(spdlog
|
||||||
GIT_REPOSITORY "https://github.com/gabime/spdlog"
|
GIT_REPOSITORY "https://github.com/gabime/spdlog"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user