summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/EXPORT-OldIFace.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/install/EXPORT-OldIFace.cmake')
-rw-r--r--Tests/RunCMake/install/EXPORT-OldIFace.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/EXPORT-OldIFace.cmake b/Tests/RunCMake/install/EXPORT-OldIFace.cmake
index 033f684..ee3fb23 100644
--- a/Tests/RunCMake/install/EXPORT-OldIFace.cmake
+++ b/Tests/RunCMake/install/EXPORT-OldIFace.cmake
@@ -1,5 +1,6 @@
enable_language(C)
set(CMAKE_BUILD_WITH_INSTALL_RPATH 1)
+set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR 1)
add_subdirectory(EXPORT-OldIFace)
add_library(foo SHARED empty.c)
target_link_libraries(foo bar)