Markus Hovorka
4816c1c5af
Honor CMAKE_INSTALL_RPATH in SET_BIN_DIR
...
set_target_properties used up until now in the SET_BIN_DIR macro sets
the INSTALL_RPATH property and discards whatever it contained before.
The INSTALL_RPATH target property is initialized with the cache variable
CMAKE_INSTALL_RPATH (possilbly given via the -D option of cmake). To
preserve this "default" value this commit replaced set_target_properties
with set_property(... APPEND ...).
2017-05-31 23:08:16 +02:00
Johannes Obermayr
06bb8d69eb
Fix RPATHS for area-native and area libs on Linux.
2017-02-10 21:09:49 +01:00
wmayer
0b40e1eb2a
+ fix cmake issue caused by patch
2015-09-11 14:47:47 +02:00
Johannes Obermayr
9b90e1e14b
libarea doesn't depend on parts from CMAKE_INSTALL_LIBDIR
...
Fixes:
-- Installing: /home/abuild/rpmbuild/BUILDROOT/FreeCAD-0.15.99+git20150727.1925-1.1.x86_64/usr/lib64/FreeCAD/lib/area.so
CMake Error at src/Mod/Path/libarea/cmake_install.cmake:53 (file):
file RPATH_CHANGE could not write new RPATH:
/usr/lib64/FreeCAD/lib
to the file:
/home/abuild/rpmbuild/BUILDROOT/FreeCAD-0.15.99+git20150727.1925-1.1.x86_64/usr/lib64/FreeCAD/lib/area.so
No valid ELF RPATH or RUNPATH entry exists in the file;
2015-09-11 07:18:07 +02:00
wmayer
3a40a99742
+ create MODULE libraries in given directory
2015-07-24 22:56:18 +02:00
wmayer
40883ac597
+ use .dylib for normal shared libraries under MacOSX
2015-04-17 18:13:51 +02:00
Johannes Obermayr
dfa700a6a1
Fix OCE / OCC version detection.
2014-12-20 22:41:31 +01:00
wmayer
222bcf39c4
+ improve OCC version macro, fix build failure with MinGW, fix build failure with Coin2
2014-08-18 11:34:02 +02:00
wmayer
e678de5f49
+ Add macro to test and get OCC version
2014-08-10 18:52:28 +02:00
wmayer
6ac93e9d72
Add initial support for different libdir (jobermayr)
2014-05-10 12:57:38 +02:00
mdinger
1498e99cef
Move python module prefix and suffix properties into macro to be set together
2014-05-03 16:00:30 +02:00
wmayer
2bb8a2d9a6
+ fix PCH to work again with QtCreator
2014-04-30 19:04:32 +02:00
wmayer
e799982a80
+ Fix PCH issue with VS
2014-04-30 14:07:27 +02:00
mdinger
f53989e7a6
Fix precompiled header build error
2014-04-30 13:41:19 +02:00
mdinger
2044445995
Add runtime location linux will use
2014-04-30 13:41:18 +02:00
mdinger
df0303af32
Disable null prefix on certain FreeCAD* targets
2014-04-30 13:41:18 +02:00
mdinger
7982ffe726
Add 4th optional parameter to set linux install path
2014-04-30 13:41:17 +02:00
mdinger
55685e0ed3
Macro now takes 2 parameters with a optional 3rd. Fixes linux prefix and part design install path.
2014-04-30 13:41:14 +02:00
mdinger
4a62f4fcfa
Send FreeCAD bins and libs to correct locations
2014-04-30 13:41:14 +02:00
mdinger
37d6b55008
Insert SET_BIN_DIR macro everywhere except Mod
2014-04-30 13:41:12 +02:00
mdinger
553ea9958b
Make macro to set bin directory. Apply to ANN, Pivy, and solomesmesh.
2014-04-30 13:41:11 +02:00
wmayer
201042692d
0001278: No build possible with current CMake version 2.8.12
2013-10-22 10:33:18 +02:00
wmayer
837ddf5f38
Support of INSTALL target on Windows (VC++ and MinGW)
2012-02-17 21:41:00 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00