Am 13.01.2013 um 20:56 schrieb Kornel Benko <kor...@lyx.org>:

> Am Sonntag, 13. Januar 2013 um 20:00:37, schrieb Stephan Witt 
> <st.w...@gmx.net>
> > CMake Warning:
> >   Manually-specified variables were not used by the project:
> > 
> >     LYX_DEBUG
> > 
> > 
> > -- Build files have been written to: 
> > /Users/stephan/git/lyx20x/development/cmake
>  
> I see, but don't understand, what happens her. Could you please trace down, 
> where
> the variable
>       CMAKE_BINARY_DIR
> is changed from "lyx-build/cmake/2.0.6dev"?
>       (Spread some 'message(STATUS "CMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}")' 
> in the top CMakeLists.txt first)

With

diff --git a/development/cmake/CMakeLists.txt b/development/cmake/CMakeLists.txt
index 9ae4bee..45c0095 100644
--- a/development/cmake/CMakeLists.txt
+++ b/development/cmake/CMakeLists.txt
@@ -602,4 +602,5 @@ endif()
 # list      # rpm -qlp lyx-2.0.1-Linux.rpm              # dpkg-deb -c 
lyx-2.0.1-Linux.deb
 # install   # rpm -U lyx-2.0.1-Linux.rpm                # dpkg -i 
lyx-2.0.1-Linux.deb
 #
+message(STATUS "CMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}")
 message(STATUS)

the output is:
...
-- LYX_EXTERNAL_LIBINTL     = OFF    : Use external libintl
-- CMAKE_BINARY_DIR=/Users/stephan/git/lyx-build/cmake/2.0.6dev
...

Stephan

Reply via email to