From 098104c0b38d4ee7a2da82fdee2948478412dc64 Mon Sep 17 00:00:00 2001 From: Chris Sarbora Date: Sun, 4 Aug 2024 12:54:47 -0500 Subject: [PATCH] support Ninja Multi-Config and normal --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b94874be6..ae59aefdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -256,7 +256,10 @@ ExternalProject_Add(HogMaker BINARY_DIR ${CMAKE_BINARY_DIR}/tools INSTALL_COMMAND "" ) -set(HogMakerBin ${CMAKE_BINARY_DIR}/tools/HogMaker) +if (DEFINED CMAKE_CONFIGURATION_TYPES) + set(HogMakerBin_ConfigDir "$/") +endif() +set(HogMakerBin ${CMAKE_BINARY_DIR}/tools/${HogMakerBin_ConfigDir}HogMaker) add_subdirectory(netcon) add_subdirectory(netgames)