mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
d04cc9302f
commit
339e505587
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user