diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-02-02 14:06:31 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-02-05 11:15:55 -0300 |
commit | af7a410d23bad9f6d08e0d298db417208ef06e2d (patch) | |
tree | d73ea9bce63cd94a82036feee8d77bb1a23996b3 /CMakeLists.txt | |
parent | af9f990d61600a6746567b44352986b2c575430a (diff) | |
download | pyside-af7a410d23bad9f6d08e0d298db417208ef06e2d.tar.gz pyside-af7a410d23bad9f6d08e0d298db417208ef06e2d.tar.xz pyside-af7a410d23bad9f6d08e0d298db417208ef06e2d.zip |
Used Release as default build type.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ba404b7..2ede881 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,10 @@ cmake_minimum_required(VERSION 2.6) set(CMAKE_CXX_FLAGS_RELEASE "-Wall -DNDEBUG -Os -Wl,-O1 -Wl,--hash-style=gnu -Wno-strict-aliasing -fvisibility=hidden") set(CMAKE_CXX_FLAGS_DEBUG "-g -fno-common -Wall -fno-strict-aliasing -fvisibility=hidden") +if (NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE Release) +endif (NOT CMAKE_BUILD_TYPE) + find_package(PythonLibs REQUIRED) find_package(PythonInterp REQUIRED) find_package(Shiboken REQUIRED) |