mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-23 03:39:51 +00:00
Fixed some mistakes within the CMakeLists.txt
Made latest revision compatible to windows again git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@500 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
parent
bc9c93a130
commit
699bb19e76
@ -17,13 +17,6 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
INCLUDE (CheckIncludeFiles)
|
||||
|
||||
#tests
|
||||
option(KQUEUE_TESTS "Enable to build tests for libkqueue" OFF)
|
||||
if(KQUEUE_TESTS)
|
||||
message("-- Adding tests for libkqueue")
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
project(kqueue)
|
||||
|
||||
#files
|
||||
|
@ -19,7 +19,9 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#ifndef _WIN32
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
extern int DEBUG_ACTIVE;
|
||||
extern char *DEBUG_IDENT;
|
||||
|
@ -56,5 +56,5 @@ else()
|
||||
endif()
|
||||
|
||||
add_executable(libkqueue-test ${SRC})
|
||||
target_link_libraries(libkqueue-test libkqueue ${LIBS})
|
||||
target_link_libraries(libkqueue-test kqueue ${LIBS})
|
||||
set_target_properties(libkqueue-test PROPERTIES DEBUG_POSTFIX "D")
|
||||
|
Loading…
Reference in New Issue
Block a user