From: Matthias Maier Date: Thu, 13 Apr 2023 20:35:47 +0000 (-0500) Subject: examples/step-1: undo accidental changes to CMakeLists.txt X-Git-Tag: v9.5.0-rc1~313^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=775b27d0dc43eaa8717768e0fd872dfd93288039;p=dealii.git examples/step-1: undo accidental changes to CMakeLists.txt This partially reverts a82dd4cbcf01e299ea23a9ba28c41dc3bcded1a7 In reference to #14971 --- diff --git a/examples/step-1/CMakeLists.txt b/examples/step-1/CMakeLists.txt index a0210f27fd..8dd687f7f1 100644 --- a/examples/step-1/CMakeLists.txt +++ b/examples/step-1/CMakeLists.txt @@ -22,7 +22,6 @@ set(TARGET_SRC # Usually, you will not need to modify anything beyond this point... cmake_minimum_required(VERSION 3.13.4) -project(${TARGET}) find_package(deal.II 9.5.0 HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} @@ -35,5 +34,6 @@ if(NOT ${deal.II_FOUND}) ) endif() -add_executable(${TARGET} ${TARGET_SRC}) -target_link_libraries(${TARGET} dealii::dealii) +deal_ii_initialize_cached_variables() +project(${TARGET}) +deal_ii_invoke_autopilot()