Merge pull request #134 from adam4813/master

Add the tools directory to CMAKE_PROGRAM_PATH
This commit is contained in:
Robert Schumacher 2016-10-10 23:33:57 -07:00 committed by GitHub
commit af8ceb086c

View File

@ -36,6 +36,8 @@ if(NOT VCPKG_TOOLCHAIN)
include_directories(${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include) 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) option(OVERRIDE_ADD_EXECUTABLE "Automatically copy dependencies into the output directory for executables." ON)
if(OVERRIDE_ADD_EXECUTABLE) if(OVERRIDE_ADD_EXECUTABLE)
function(add_executable name) function(add_executable name)