Skip to content

Instantly share code, notes, and snippets.

@toymak3r
Created August 28, 2019 23:09
Show Gist options
  • Save toymak3r/af9d7b4a508f1abe425209b29c631393 to your computer and use it in GitHub Desktop.
Save toymak3r/af9d7b4a508f1abe425209b29c631393 to your computer and use it in GitHub Desktop.
Relative Link Path to Binary With CMake
set_target_properties(NAME_OF_TARGET PROPERTIES LINK_FLAGS "-Wl,-rpath,./libs")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment