mirror of
https://github.com/avast/retdec.git
synced 2025-02-01 19:22:34 +00:00
Build all external projects in the same top-level directory.
This reduces path lengths, which is important on Windows as there is a limit on how long a path can be (#61).
This commit is contained in:
parent
0f41aa3d94
commit
ecba1a6367
@ -16,6 +16,11 @@ set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
option(RETDEC_DOC "Build public API documentation (requires Doxygen)." OFF)
|
||||
option(RETDEC_TESTS "Build tests." OFF)
|
||||
|
||||
# Build all external projects in the same directory that is directly inside the
|
||||
# build directory. This reduces path lengths, which is important on Windows as
|
||||
# there is a limit on how long a path can be.
|
||||
set_directory_properties(PROPERTIES EP_PREFIX "${PROJECT_BINARY_DIR}/external")
|
||||
|
||||
set(DEPS_TESTS ${RETDEC_TESTS})
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/deps-config.cmake)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user