cmake: don't forget arg for build type

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24383 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2008-04-20 12:18:22 +00:00
parent 5844446857
commit 69f1cd1e50

View File

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