From c26853955906ff6fae1fe33901529aa323f3f59c Mon Sep 17 00:00:00 2001 From: Stephan Schulz <stephan.schulz-x2q@rub.de> Date: Mon, 25 Jan 2021 12:21:44 +0100 Subject: [PATCH] remove unnecessary defines in example project --- example/CMakeProject/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/example/CMakeProject/CMakeLists.txt b/example/CMakeProject/CMakeLists.txt index 843c33e..e80c22e 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 -- GitLab