You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
217 B
7 lines
217 B
8 years ago
|
|
||
|
cmake_policy(SET CMP0068 OLD)
|
||
|
cmake_policy(SET CMP0042 NEW)
|
||
|
|
||
|
add_library(foo SHARED empty.cpp)
|
||
|
set_target_properties(foo PROPERTIES INSTALL_NAME_DIR "@rpath" INSTALL_RPATH "@loader_path/" BUILD_WITH_INSTALL_RPATH 1)
|