Skip to content

Commit 6677acb

Browse files
authored
Remove duplicate ImathConfig ALIAS in cmake config (AcademySoftwareFoundation#517)
A duplicate add_library(Imath::Config ALIAS ImathConfig) line slipped in. Only newer CMake versions seem to catch this. Signed-off-by: Cary Phillips <cary@ilm.com>
1 parent c005e35 commit 6677acb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

config/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ if (IMATH_INSTALL)
3131
install(TARGETS ImathConfig EXPORT Imath)
3232
endif()
3333

34-
add_library(Imath::Config ALIAS ImathConfig)
35-
3634
if(IMATH_INSTALL_PKG_CONFIG AND NOT IMATH_BUILD_APPLE_FRAMEWORKS)
3735

3836
# Prepend prefix for includedir only if CMAKE_INSTALL_INCLUDEDIR is relative

0 commit comments

Comments
 (0)