mirror of
https://github.com/kakwa/uts-server
synced 2025-01-10 05:34:29 +01:00
fix cmake... hopefully
This commit is contained in:
parent
50a4288c63
commit
730aa230b8
@ -68,7 +68,6 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
|||||||
set(SED_FREEBSD "*.c.bak")
|
set(SED_FREEBSD "*.c.bak")
|
||||||
find_package(argp REQUIRED)
|
find_package(argp REQUIRED)
|
||||||
add_definitions(-DBSD)
|
add_definitions(-DBSD)
|
||||||
set (CMAKE_C_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -lrt")
|
|
||||||
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
|
|
||||||
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
@ -98,7 +97,11 @@ if(BUNDLE_CIVETWEB)
|
|||||||
)
|
)
|
||||||
set(LIBCIVETWEB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/vendor/usr/include")
|
set(LIBCIVETWEB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/vendor/usr/include")
|
||||||
set(LIBCIVETWEB_LIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/vendor/usr/lib/libcivetweb.a")
|
set(LIBCIVETWEB_LIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/vendor/usr/lib/libcivetweb.a")
|
||||||
set (CMAKE_C_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -lpthread")
|
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
|
set (CMAKE_C_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -lpthread")
|
||||||
|
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
|
set (CMAKE_C_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -lpthread -lrt")
|
||||||
|
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
else(BUNDLE_CIVETWEB)
|
else(BUNDLE_CIVETWEB)
|
||||||
find_package(libcivetweb REQUIRED)
|
find_package(libcivetweb REQUIRED)
|
||||||
endif(BUNDLE_CIVETWEB)
|
endif(BUNDLE_CIVETWEB)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user