Skip to content

Commit d4d7ee1

Browse files
committed
Remove indirect dependencies
1 parent d4b678b commit d4d7ee1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

cmake/version.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
set (MAGIX3D_MAJOR_VERSION "2")
66
set (MAGIX3D_MINOR_VERSION "5")
7-
set (MAGIX3D_RELEASE_VERSION "0")
7+
set (MAGIX3D_RELEASE_VERSION "1")
88
set (MAGIX3D_VERSION ${MAGIX3D_MAJOR_VERSION}.${MAGIX3D_MINOR_VERSION}.${MAGIX3D_RELEASE_VERSION})
99

src/Core/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ if (NOT TARGET Mesquite::Mesquite)
7070
endif (NOT TARGET Mesquite::Mesquite)
7171

7272
pkg_check_modules (GTS REQUIRED IMPORTED_TARGET gts) # GTS (GNU Triangulated Surface Library)
73-
pkg_check_modules (GLIB2 REQUIRED IMPORTED_TARGET glib-2.0) # glib-2.0 (pour GTS)
74-
pkg_check_modules (PCRE REQUIRED IMPORTED_TARGET libpcre) # PCRE (Perl compatible regular expressions pour glib-2.0)
7573

7674
find_package (OpenCASCADE 7.1.0 REQUIRED)
7775

@@ -108,7 +106,7 @@ endif()
108106
if (SEPA3D)
109107
target_include_directories (Core PUBLIC ${SEPARATRICE3D_INCLUDE_DIR})
110108
endif (SEPA3D)
111-
target_link_libraries (Core PUBLIC ${CORE_OPTIONAL_LIBRARIES_LIST} Mesquite::Mesquite cgns::cgns PkgConfig::GTS PkgConfig::GLIB2 PkgConfig::PCRE GMDSIg GMDSIo)
109+
target_link_libraries (Core PUBLIC ${CORE_OPTIONAL_LIBRARIES_LIST} Mesquite::Mesquite cgns::cgns PkgConfig::GTS GMDSIg GMDSIo)
112110
# Etre capable une fois installée de retrouver vtk*, ... :
113111
# (Rem : en son absence on a Set runtime path of "/tmp/pignerol/install/lib/libCore.so.5.0.0" to "") ...
114112
set_target_properties (Core PROPERTIES INSTALL_RPATH_USE_LINK_PATH 1)

0 commit comments

Comments
 (0)