From c01015234068a815315fd3768438c1c968ae90d8 Mon Sep 17 00:00:00 2001 From: Seth Hall Date: Mon, 28 Jun 2021 13:23:09 +0000 Subject: [PATCH] binpac: CMAKE_CFG_INTDIR is no longer necessary. CMake documentation says that CMAKE_CFG_INTDIR is no longer necessary to find the right binary for the configuration and is in fact deprecated in recent versions of CMake. --- tools/binpac/src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binpac/src/CMakeLists.txt b/tools/binpac/src/CMakeLists.txt index b04144cd64..54ceb335c8 100644 --- a/tools/binpac/src/CMakeLists.txt +++ b/tools/binpac/src/CMakeLists.txt @@ -104,5 +104,5 @@ install(TARGETS binpac DESTINATION bin) # This is set to assist superprojects that want to build BinPac # from source and rely on it as a target -set(BinPAC_EXE ${BinPAC_BINARY_DIR}/${CMAKE_CFG_INTDIR}/binpac +set(BinPAC_EXE binpac CACHE STRING "BinPAC executable" FORCE)