forked from rcxpony/sparkle
cmake fix
This commit is contained in:
parent
5e3bad0c34
commit
10d0a81e84
@ -8,14 +8,12 @@ set(SOURCE sources/main.cpp)
|
||||
set(LIBS ${CMAKE_SOURCE_DIR}/libs/)
|
||||
set(INCLUDE ${CMAKE_SOURCE_DIR}/include/)
|
||||
set(TESTS ${CMAKE_SOURCE_DIR}/tests)
|
||||
set(CMAKE_C_COMPILER "clang")
|
||||
set(CMAKE_CXX_COMPILER "clang++")
|
||||
|
||||
find_package(CURL REQUIRED)
|
||||
find_path(IXWEBSOCKET_INCLUDE_DIR ixwebsocket)
|
||||
find_library(IXWEBSOCKET_LIBRARIES ixwebsocket)
|
||||
find_program(CMAKE_C_COMPILER clang)
|
||||
find_program(CMAKE_CXX_COMPILER clang++)
|
||||
|
||||
message(STATUS "Current compiler: ${CMAKE_CXX_COMPILER}")
|
||||
|
||||
if(NOT IXWEBSOCKET_INCLUDE_DIR OR NOT IXWEBSOCKET_LIBRARIES)
|
||||
message(FATAL_ERROR "ixwebsocket not found")
|
||||
|
Loading…
x
Reference in New Issue
Block a user