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 Aug 4, 2024
1 parent 30de64a commit 098104c
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 @@ -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 "$<CONFIG>/")
endif()
set(HogMakerBin ${CMAKE_BINARY_DIR}/tools/${HogMakerBin_ConfigDir}HogMaker)

add_subdirectory(netcon)
add_subdirectory(netgames)
Expand Down

0 comments on commit 098104c

Please sign in to comment.