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)