mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
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:
parent
2a6780431e
commit
e94f933f39
@ -31,10 +31,6 @@ endif(NOT CMAKE_USE_PTHREADS_INIT)
|
|||||||
find_package(LibUV REQUIRED)
|
find_package(LibUV REQUIRED)
|
||||||
include_directories(${LibUV_INCLUDE_DIRS})
|
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")
|
include_directories ("${PROJECT_BINARY_DIR}/config")
|
||||||
|
|
||||||
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||||
|
Loading…
Reference in New Issue
Block a user