Skip to content

Commit e31818f

Browse files
committed
Simplify CMakeLists.txt
1 parent 20cdbe7 commit e31818f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -709,11 +709,7 @@ if(openPMD_HAVE_Julia)
709709
src/binding/julia/shared_ptr.cpp
710710
src/binding/julia/version.cpp
711711
)
712-
target_compile_features(openPMD.jl PUBLIC cxx_std_17)
713-
set_target_properties(openPMD.jl PROPERTIES
714-
CXX_EXTENSIONS OFF
715-
CXX_STANDARD_REQUIRED ON
716-
)
712+
openpmd_cxx_required(openPMD.jl)
717713
target_link_libraries(openPMD.jl PRIVATE openPMD JlCxx::cxxwrap_julia JlCxx::cxxwrap_julia_stl)
718714
endif()
719715

0 commit comments

Comments
 (0)