mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 22:39:07 +08:00
Merge pull request #134 from adam4813/master
Add the tools directory to CMAKE_PROGRAM_PATH
This commit is contained in:
commit
af8ceb086c
@ -36,6 +36,8 @@ if(NOT VCPKG_TOOLCHAIN)
|
||||
|
||||
include_directories(${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include)
|
||||
|
||||
set(CMAKE_PROGRAM_PATH ${CMAKE_PROGRAM_PATH} ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/tools)
|
||||
|
||||
option(OVERRIDE_ADD_EXECUTABLE "Automatically copy dependencies into the output directory for executables." ON)
|
||||
if(OVERRIDE_ADD_EXECUTABLE)
|
||||
function(add_executable name)
|
||||
|
Loading…
Reference in New Issue
Block a user