Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMelt committed Dec 4, 2024
1 parent 920e79c commit f912abb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ add_library(${LIB_NAME} SHARED ctorch.cpp ftorch.F90 ftorch_test_utils.f90)

if(UNIX)
message(STATUS "CMAKE_SYSTEM_PROCESSOR = ${CMAKE_SYSTEM_PROCESSOR}")
if(not APPLE)
if(APPLE)
# skip for apple for now.
else()
target_compile_definitions(${LIB_NAME} PRIVATE UNIX)
endif()
endif()
Expand Down

0 comments on commit f912abb

Please sign in to comment.