From 3e4e1712731db73c1809e53dfbf98404ea62e496 Mon Sep 17 00:00:00 2001 From: Philippe Depouilly <Philippe.Depouilly@math.u-bordeaux.fr> Date: Fri, 1 Oct 2021 18:29:15 +0200 Subject: [PATCH] typo in Neos Cmake module --- cmake_modules/NEOSConfig.cmake.in | 2 +- first_example/CMakeLists.txt | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/cmake_modules/NEOSConfig.cmake.in b/cmake_modules/NEOSConfig.cmake.in index 0b5caa1..7c32df9 100644 --- a/cmake_modules/NEOSConfig.cmake.in +++ b/cmake_modules/NEOSConfig.cmake.in @@ -34,4 +34,4 @@ if (@USE_EIGEN3@) find_package(Eigen3 REQUIRED) endif() -include("${CMAKE_CURRENT_LIST_DIR}/NEOSTargets.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/neosTargets.cmake") diff --git a/first_example/CMakeLists.txt b/first_example/CMakeLists.txt index a3ce478..25d7c81 100644 --- a/first_example/CMakeLists.txt +++ b/first_example/CMakeLists.txt @@ -1,13 +1,11 @@ -cmake_minimum_required(VERSION 3.0) - -list(APPEND CMAKE_MODULE_PATH /builds/neos/cmake_modules) +cmake_minimum_required(VERSION 3.1) project(levelset) -# Crée des variables avec les fichiers à compiler +# Set project sources set(SRCS levelset.cpp ) find_package(NEOS) add_executable(levelset ${SRCS}) -target_link_libraries(levelset ${NEOS_DEP_LIBS}) +target_link_libraries(levelset neos::neos) -- GitLab