Skip to content

Commit

Permalink
support Ninja Multi-Config and normal
Browse files Browse the repository at this point in the history
  • Loading branch information
tophyr committed Sep 2, 2024
1 parent a1f42b2 commit e4c5327
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,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 "$<CONFIG>/")
endif()
set(HogMakerBin ${CMAKE_BINARY_DIR}/tools/${HogMakerBin_ConfigDir}HogMaker)

add_subdirectory(netcon)
add_subdirectory(netgames)
Expand Down

0 comments on commit e4c5327

Please sign in to comment.