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.
This commit is contained in:
Seth Hall 2021-06-28 13:23:09 +00:00 committed by Tim Wojtulewicz
parent 024b4ff8f3
commit c010152340

View file

@ -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)