CMakeLists: remove hardcoded .deps directory

We use the standard CMAKE_PREFIX_PATH variable to pass the location of
.deps as a search location on the command line. There is now no need for
explicitly hard-coding it.
This commit is contained in:
Rich Wareham 2014-02-24 21:01:52 +00:00 committed by Thiago de Arruda
parent 2a6780431e
commit e94f933f39

View File

@ -31,10 +31,6 @@ endif(NOT CMAKE_USE_PTHREADS_INIT)
find_package(LibUV REQUIRED)
include_directories(${LibUV_INCLUDE_DIRS})
# add dependencies to include/lib directories
link_directories ("${PROJECT_SOURCE_DIR}/.deps/usr/lib")
include_directories ("${PROJECT_SOURCE_DIR}/.deps/usr/include")
include_directories ("${PROJECT_BINARY_DIR}/config")
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)