Skip to content
Snippets Groups Projects
Commit c2685395 authored by Stephan Schulz's avatar Stephan Schulz
Browse files

remove unnecessary defines in example project

parent b2dc2c53
Branches
Tags
1 merge request!15CMake projectconfig
......@@ -22,11 +22,6 @@ find_package(MPI REQUIRED COMPONENTS CXX Fortran)
# with the respective features enabled.
add_compile_definitions(TEST_VTK_OUTPUT)
add_compile_definitions(TEST_VORONOI)
# For C++ projects including ALL the following macros must also be defined at
# the moment, if the respective features are used. Otherwise, they are not
# visible in the header files.
add_compile_definitions(ALL_VTK_OUTPUT)
add_compile_definitions(ALL_VORONOI_ACTIVE)
find_package(ALL 0.9.1)
......@@ -48,4 +43,3 @@ add_executable(ALL_test ALL_test.cpp)
target_link_libraries(ALL_test PUBLIC ALL::ALL)
target_link_libraries(ALL_test PUBLIC ${MPI_CXX_LINK_FLAGS} ${MPI_CXX_LIBRARIES})
target_include_directories(ALL_test PRIVATE ${MPI_CXX_INCLUDE_PATH})
# should also explicitly link against VTK
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment