Skip to content

Commit

Permalink
Fixed Darwin compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
EduMenges committed Aug 15, 2024
1 parent f4af5d5 commit db7e060
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/CommonBuildParameters.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,11 @@ if(NOT DEFINED SUPERGENIUS_SRC_DIR)
endif()
endif()

set(SUPERGENIUS_BUILD_DIR "${SUPERGENIUS_SRC_DIR}/build/${CMAKE_SYSTEM_NAME}/${CMAKE_BUILD_TYPE}")
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(SUPERGENIUS_BUILD_DIR "${SUPERGENIUS_SRC_DIR}/build/OSX/${CMAKE_BUILD_TYPE}")
else()
set(SUPERGENIUS_BUILD_DIR "${SUPERGENIUS_SRC_DIR}/build/${CMAKE_SYSTEM_NAME}/${CMAKE_BUILD_TYPE}")
endif()

if(DEFINED ANDROID_ABI)
set(SUPERGENIUS_BUILD_DIR "${SUPERGENIUS_BUILD_DIR}/${ANDROID_ABI}")
Expand Down

0 comments on commit db7e060

Please sign in to comment.