Skip to content

Commit

Permalink
Merge pull request #265 from PrincetonUniversity/issue-262
Browse files Browse the repository at this point in the history
Fixed Apple clang cmake issues
  • Loading branch information
Rohit-Kakodkar authored Dec 10, 2024
2 parents fc4b584 + a66d6a2 commit d11bc97
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,6 @@ add_library(
src/plotter/plot_wavefield.cpp
)

# Only define the __APPLE__ compile definition if it is defined
if (__APPLE__)
target_compile_definitions(plotter PRIVATE __APPLE__)
endif(__APPLE__)

if (NOT VTK_CXX_BUILD)
target_compile_definitions(
plotter
Expand All @@ -548,6 +543,10 @@ else ()
${VTK_LIBRARIES}
)

# Only define the __APPLE__ compile definition if it is defined
if (__APPLE__)
target_compile_definitions(plotter PRIVATE __APPLE__)
endif(__APPLE__)
endif()

add_library(
Expand Down

0 comments on commit d11bc97

Please sign in to comment.