don't show all warnings by default, use TOP_SRC_DIR value from LyXPaths.cmake

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16387 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2006-12-23 21:30:17 +00:00
parent 42426e1423
commit 2debe65559

View File

@ -84,16 +84,15 @@ if(WIN32)
endif(WIN32) endif(WIN32)
set(LYX_DIR "") set(LYX_DIR "")
set(TOP_SRCDIR "${CMAKE_SOURCE_DIR}/../..") set(TOP_SRCDIR "${TOP_SRC_DIR}")
set(PROGRAM_SUFFIX "") set(PROGRAM_SUFFIX "")
set(LOCALEDIR "") set(LOCALEDIR "")
message("")
message("----- LYX_DIR : ${LYX_DIR}") message("----- LYX_DIR : ${LYX_DIR}")
message("----- TOP_SRCDIR : ${TOP_SRCDIR}") message("----- TOP_SRCDIR : ${TOP_SRCDIR}")
message("----- PROGRAM_SUFFIX: ${PROGRAM_SUFFIX}") message("----- PROGRAM_SUFFIX: ${PROGRAM_SUFFIX}")
message("----- LOCALEDIR : ${LOCALEDIR}") message("----- LOCALEDIR : ${LOCALEDIR}")
message("") message("")
@ -132,6 +131,8 @@ endif(MSVC AND NOT disable-pch)
if(MSVC) if(MSVC)
if(WALL) if(WALL)
set(DISABLEWALL 0 CACHE TYPE STRING FORCE) set(DISABLEWALL 0 CACHE TYPE STRING FORCE)
else(WALL)
set(DISABLEWALL 1 CACHE TYPE STRING FORCE)
endif(WALL) endif(WALL)
if(NOT DISABLEWALL) if(NOT DISABLEWALL)