From 996f1077afc4864091bed476a9580c224f1178ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernard=20S=C3=A9cher=C3=83?= Date: Fri, 16 Oct 2020 15:17:24 +0200 Subject: [PATCH] MEDCoupling_VERSION is now ok --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 84dd80c..9fb3c8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,8 +296,6 @@ if( MEDCOUPLING_ROOT_DIR OR DEFINED ENV{MEDCOUPLING_ROOT_DIR}) message (STATUS "MEDCoupling library found in ${MEDCOUPLING_ROOT_DIR}") endif( NOT EXISTS ${MEDCOUPLING_ROOT_DIR}/lib/libmedloader.so OR NOT EXISTS ${MEDCOUPLING_ROOT_DIR}/lib/libmedcoupling.so OR NOT EXISTS ${MEDCOUPLING_ROOT_DIR}/include/MEDCoupling.hxx) - #the find package(MEDCoupling) generates an error - set(MEDCoupling_VERSION 9.6.0)#We force the version to 9.6 until we solve the problem of find_package(MEDCoupling) add_library(medloader SHARED IMPORTED ) set_property(TARGET medloader PROPERTY IMPORTED_LOCATION ${MEDCOUPLING_ROOT_DIR}/lib/libmedloader.so) add_library(interpkernel SHARED IMPORTED ) -- 2.39.2