-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt lib/bin destinations for linux; add back the soversion postfixes
- Loading branch information
Showing
3 changed files
with
44 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
# UNIX-only stuff | ||
|
||
IF(UNIX AND NOT ANDROID) | ||
if(UNIX AND NOT ANDROID) | ||
|
||
# Not sure what this will do on Cygwin and Msys | ||
# Also, remember OS X X11 is a user installed option so it may not exist. | ||
FIND_PACKAGE(X11) | ||
find_package(X11) | ||
|
||
# Some Unicies need explicit linkage to the Math library or the build fails. | ||
FIND_LIBRARY(MATH_LIBRARY m) | ||
find_library(MATH_LIBRARY m) | ||
|
||
# for ptheads in linux | ||
find_package(Threads REQUIRED) | ||
ENDIF(UNIX AND NOT ANDROID) | ||
|
||
# add 64 to the lib prefix. | ||
set(INSTALL_LIBRARY_FOLDER "lib64") | ||
set(INSTALL_PLUGINS_FOLDER "lib64") | ||
|
||
endif(UNIX AND NOT ANDROID) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters