cmake: force to new build type when reconfiguring

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17616 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-03-28 19:23:57 +00:00
parent d04cc9302f
commit 339e505587

View File

@ -51,11 +51,11 @@ if(profile)
set(profile)
endif(profile)
if(release)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_BUILD_TYPE Release CACHE TYPE STRING FORCE))
set(release)
endif(release)
if(debug)
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_BUILD_TYPE Debug CACHE TYPE STRING FORCE))
endif(debug)
if(shared)