Skip to content

Commit a1f42b2

Browse files
committed
no need to specify .exe suffix on windows
1 parent 2e3f36c commit a1f42b2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,7 @@ ExternalProject_Add(HogMaker
263263
BINARY_DIR ${CMAKE_BINARY_DIR}/tools
264264
INSTALL_COMMAND ""
265265
)
266-
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
267-
set(HogMakerBin ${CMAKE_BINARY_DIR}/tools/HogMaker.exe)
268-
else()
269-
set(HogMakerBin ${CMAKE_BINARY_DIR}/tools/HogMaker)
270-
endif()
266+
set(HogMakerBin ${CMAKE_BINARY_DIR}/tools/HogMaker)
271267
272268
add_subdirectory(netcon)
273269
add_subdirectory(netgames)

0 commit comments

Comments
 (0)