On Friday, 15 April 2016 at 8:44:08 -0700, Gabriel Perren wrote: > I'm trying to install Hugin in my elementary OS Freya 0.3.2 > (https://elementary.io) > > I've followed both types if installation instructions: > > ... > > Both fail with the same error after running 'cmake': > > CMake Error at CMakeLists.txt:7 (message): > In-source builds are not allowed. > > What can I do to fix this?
Remove the following lines from CMakeLists.txt:
--- CMakeLists.txt~ 2016-01-24 20:16:54.000000000 +1100
+++ CMakeLists.txt 2016-02-29 14:04:08.376365000 +1100
@@ -2,11 +2,6 @@
# require at least cmake 2.8
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR )
-# prevent in-tree building
-if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
- message(FATAL_ERROR "In-source builds are not allowed.")
-endif()
-
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
(end of patch)
The background is that if you allow in-source builds, one of the
documentation files modifies itself during the build. The FreeBSD
always performs in-source builds, and this is a major nuisance. If
you want to check which file is affected, I'm sure it's fixable.
Greg
--
Sent from my desktop computer.
Finger [email protected] for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed. If your Microsoft mail program
reports problems, please read http://tinyurl.com/broken-mua
--
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/hugin-ptx/20160415220904.GZ15485%40eureka.lemis.com.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
