Commit Graph

46 Commits

Author SHA1 Message Date
Laurent Rineau 247f2513c3 Use install(PROGRAMS...) to install scripts, instead of install(DIRECTORY..)
with the PERMISSIONS statement.

== Reason: that mail ==

Message-ID: <4A2D1852.5050308@itis.ethz.ch>
Date: Mon, 08 Jun 2009 15:55:30 +0200
From: Dominik Szczerba <dominik@itis.ethz.ch>
To: cgal-discuss@lists-sop.inria.fr
Subject: [cgal-discuss] small installation issue on linux (CGAL v3.4)
Reply-To: cgal-discuss@lists-sop.inria.fr

Hi,
While 'make install' a following error is issued:

CMake Error at cmake_install.cmake:55 (FILE):
   file Problem setting permissions on directory "/usr/local/bin"

The properties of this folder are:

drwxrwxr-x  2 root  staff 4096 2009-06-08 15:46 bin

which is certainly sufficient for any local install by a staff member. 
By temporarilly changing the ownership of the folder to myself the 
installation proceeds, but it changes the permissions to 'drwxr-xr-x', 
which is not how it should be done. Is there a particular reason to do 
it this way or is it simply overlooking?

with regards,
Dominik
-- 
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
2009-06-09 14:04:24 +00:00
Fernando Cacciola aa98a09949 Added flags for alpha 2009-03-11 19:12:20 +00:00
Laurent Rineau c773b9f74d Install cmake macros in lib/CGAL/ instead of lib/CGAL-3.4/. 2009-01-21 17:12:45 +00:00
Laurent Rineau c5090b1fab Add the installation of the man page. 2008-12-18 22:37:55 +00:00
Fernando Cacciola 1cbd734136 rename 'demo' target as 'demos' 2008-12-18 17:31:37 +00:00
Laurent Rineau 4bc77dbb64 Also install AUTHORS. 2008-12-17 10:28:27 +00:00
Laurent Rineau 5446a86713 Fix permissions of install scripts.
(Reported by Efi)
2008-12-16 17:31:16 +00:00
Laurent Rineau 41bb417143 - CGAL cmake files are installed by default in
${CMAKE_INSTALL_PREFIX}/lib/CGAL-3.4 (but on Windows)
- The generated CGALConfig.cmake (from CGALConfig_install.fhs.cmake has
  been modified so that it no longer refers to the source directory.
2008-12-11 15:24:51 +00:00
Fernando Cacciola 99e4540773 Added custom 'install_FindCGAL' target 2008-12-05 16:20:07 +00:00
Fernando Cacciola 6553984e9f Turn OFF examples and demos by default because under Visual Studio this creates a solution with hundreds of projects 2008-11-28 21:20:19 +00:00
Fernando Cacciola b06cc3fc0e Moved cmake modules back (3/3) 2008-11-27 17:30:01 +00:00
Fernando Cacciola eb788696c8 Fixed GNUCC->GNUCXX and detection of GCC 2008-11-07 16:46:03 +00:00
Laurent Rineau cf1febcab0 Add a comment to endif(), to avoid future problems. 2008-11-06 10:06:35 +00:00
Fernando Cacciola 0238a1c451 Put CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in the right place for cmake 2.4 2008-11-05 20:47:04 +00:00
Fernando Cacciola 11b5b28d0c Install FindCGAL.cmake 2008-11-04 17:55:10 +00:00
Fernando Cacciola fb446def12 Moved CGALConfig.cmake-.*.in down lib/CGAL.3,4 2008-11-04 15:58:45 +00:00
Fernando Cacciola 145ee41079 Prefixed CGAL cmake modules with CGAL_ 2008-11-04 12:49:32 +00:00
Fernando Cacciola 6bae1045df Fixed handling of flags when defined interactively 2008-11-03 21:00:22 +00:00
Laurent Rineau 5175f3c926 Add USING before the cmake version, so that the result collection scripts
can retrieve that value.
2008-11-03 00:24:53 +00:00
Laurent Rineau a2b19b120d Use ^4 and ^4.2 as regular expression, to be sure that we do not matches
another part of the version.
2008-10-31 15:03:03 +00:00
Fernando Cacciola 211deea81c Removed WITH_INSTALL + doc update 2008-10-30 12:47:49 +00:00
Fernando Cacciola d70bdaea18 Prefixed cmake variables with CGAL_ 2008-10-23 14:59:02 +00:00
Fernando Cacciola 620de7792e LEDA support integrated into CGAL itself 2008-10-17 19:04:04 +00:00
Fernando Cacciola b3a611f4a0 (fixed) Allowed CGAL components to be configured and compiled independently
Make library naming consistent with component names
2008-10-02 18:13:13 +00:00
Fernando Cacciola 6fdf8251bd Allowed CGAL components to be configured and compiled independently
Make library naming consistent with component names
2008-10-01 21:38:37 +00:00
Laurent Rineau d55fa891ea Fix naming hell in 3RD_PARTY_*DIR (*DIRS or *DIR). I have choosen *DIRS. 2008-09-16 11:57:59 +00:00
Fernando Cacciola cc25cb0130 Fixed unintended presistence of 3RD_PARTY cache variables 2008-09-15 16:25:09 +00:00
Laurent Rineau 6364643bff Funny mistake. "in" is not a known target. :-) 2008-09-15 07:50:29 +00:00
Fernando Cacciola 502c3f271f Added libCGAL to libCGAL-Qt3
Avoid detecting flags at user-program configuration
2008-09-12 18:58:38 +00:00
Laurent Rineau 3415870ee5 Factorise the 4-5 lines of code that create CGALConfig.cmake in a macro. 2008-09-09 12:07:36 +00:00
Fernando Cacciola ab07405874 Use unique names for example, demo and test targets
Renamed CGAL-Qt as CGAL-Qt3
Re-spelled cgal components as CORE, ImageIO, PDB, Qt3 and Qt4
2008-09-04 18:58:09 +00:00
Fernando Cacciola 7df9287297 Sort support tests and examples/demos alphabetically 2008-09-04 14:28:53 +00:00
Fernando Cacciola ee6fae2991 Added separation in components 2008-09-03 16:55:21 +00:00
Fernando Cacciola fb8b306638 Fixed *REALLY ODD* problem with CMake not properly testing for CGAL_REFERENCE_DIR 2008-09-01 21:14:20 +00:00
Laurent Rineau 6235cbb03f Fix a missing new line (bug for MSVC only). 2008-09-01 11:57:14 +00:00
Fernando Cacciola 41251065c2 Fix pending problems with examples and demos (now possible to do 'make examples' or 'make demo' from CGAL_DIR) 2008-08-27 16:24:01 +00:00
Fernando Cacciola cc3f3fbe4a Added FindOpenGL.cmake stub to fix Mac Leopard's OpenGL. 2008-08-25 19:17:09 +00:00
Fernando Cacciola 717b7cf5fb soversion added 2008-08-22 22:25:25 +00:00
Fernando Cacciola a84b7f58a2 Fixed variable handling within subdirectories 2008-08-22 21:50:04 +00:00
Fernando Cacciola 4015b7f471 Enable back "C" language support... cmake itself seems to need it in TRY_COMPILE (I think it's a cmake bug...) 2008-08-22 18:15:05 +00:00
Fernando Cacciola ee7cba9c38 Improved/Fixed dependencies and related CGAL_USE_* flags
OpenGL and QT3 are now searched by Qt_widget alone.
2008-08-22 17:47:49 +00:00
Sylvain Pion 2f49a5f855 cgal.com -> cgal.org. 2008-08-19 16:18:33 +00:00
Fernando Cacciola 0949438e32 Improved autotest_cgal_with_cmake/collect_cgal_testresults_from_cmake for multiple hosts and platforms 2008-08-13 22:21:38 +00:00
Fernando Cacciola 302cec65f6 Worked around odd internal variable problem when loading a cache 2008-08-01 19:18:40 +00:00
Fernando Cacciola 56c402b0fe Removed obsoleted cmake modules
Moved print_*_version to the right directory
Fixed prinout of boost and gmpxx version numbers
Automatically skip demos and example when running the testsuite
2008-07-17 14:03:25 +00:00
Fernando Cacciola 6e36eda87b CMake stuff moved into the appropriate packages 2008-07-16 20:56:17 +00:00