diff --git a/example/CMakeProject/CMakeLists.txt b/example/CMakeProject/CMakeLists.txt index 843c33e2279fc206e5bdee7ca6cc4ac65e0f935e..e80c22edaed7ddea419b6e971c64bde95a483b53 100644 --- a/example/CMakeProject/CMakeLists.txt +++ b/example/CMakeProject/CMakeLists.txt @@ -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