aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/FindDSound.cmake
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-07-10 01:57:22 -0700
committerChris Robinson <[email protected]>2017-07-10 01:57:22 -0700
commitf313f9c117846b11b2e88198be9af0174e57b577 (patch)
treea1006253329d422da4d8b3c4b0e1e33bc95b5207 /cmake/FindDSound.cmake
parentd6326c1791d6a5b3280ad6dd4e25d1c1f42c2724 (diff)
Rename the OpenAL target if also building the router
This is rather ugly, but it's necessary to get a proper export configuration. The issue was that the main OpenAL target library name is set to soft_oal when the router is being built, which is incorrect for the exported config library. Exporting the router would have the incorrect name of OpenAL::Router. So this change has the router use the OpenAL target name when it's built, which is good since it will have the standard OpenAL lib name for apps to link to and get the OpenAL::OpenAL export name. The main library's target name is changed in this case to avoid conflicts.
Diffstat (limited to 'cmake/FindDSound.cmake')
0 files changed, 0 insertions, 0 deletions