mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
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:
parent
42426e1423
commit
2debe65559
@ -84,16 +84,15 @@ if(WIN32)
|
||||
endif(WIN32)
|
||||
|
||||
set(LYX_DIR "")
|
||||
set(TOP_SRCDIR "${CMAKE_SOURCE_DIR}/../..")
|
||||
set(TOP_SRCDIR "${TOP_SRC_DIR}")
|
||||
set(PROGRAM_SUFFIX "")
|
||||
set(LOCALEDIR "")
|
||||
|
||||
message("")
|
||||
message("----- LYX_DIR : ${LYX_DIR}")
|
||||
message("----- TOP_SRCDIR : ${TOP_SRCDIR}")
|
||||
message("----- PROGRAM_SUFFIX: ${PROGRAM_SUFFIX}")
|
||||
message("----- LOCALEDIR : ${LOCALEDIR}")
|
||||
|
||||
|
||||
message("")
|
||||
|
||||
|
||||
@ -132,6 +131,8 @@ endif(MSVC AND NOT disable-pch)
|
||||
if(MSVC)
|
||||
if(WALL)
|
||||
set(DISABLEWALL 0 CACHE TYPE STRING FORCE)
|
||||
else(WALL)
|
||||
set(DISABLEWALL 1 CACHE TYPE STRING FORCE)
|
||||
endif(WALL)
|
||||
|
||||
if(NOT DISABLEWALL)
|
||||
|
Loading…
Reference in New Issue
Block a user