Skip to content
Snippets Groups Projects
Commit bf912c6c authored by AlQuemist's avatar AlQuemist
Browse files

MakeSharedLib: Use the `LINUX` variable to check for Linux (Minor change)

parent 11ed456f
No related branches found
No related tags found
2 merge requests!601Remove unneeded CMake modules (Minor cleanup),!600Remove unneeded CMake modules (Minor cleanup)
Pipeline #54519 passed
...@@ -90,7 +90,7 @@ function(make_shared_lib name) ...@@ -90,7 +90,7 @@ function(make_shared_lib name)
set_target_properties(${__LIBNAME} PROPERTIES LINK_FLAGS ${link_flags}) set_target_properties(${__LIBNAME} PROPERTIES LINK_FLAGS ${link_flags})
endif() endif()
if(BORNAGAIN_PLATFORM STREQUAL "linux") if(LINUX)
# NOTE: Unlike `RUNPATH`, `RPATH` is searched for transitive dependencies; # NOTE: Unlike `RUNPATH`, `RPATH` is searched for transitive dependencies;
# ie. paths in RPATH will be considered for everything that is # ie. paths in RPATH will be considered for everything that is
# dynamically loaded, even dependencies of dependencies. # dynamically loaded, even dependencies of dependencies.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment