Cleaned up endif/else-s in CMakeLists.txt and *.cmake files
[alexxy/gromacs.git] / cmake / Platform / BlueGeneQ-static.cmake
1 #=============================================================================
2 # CMake - Cross Platform Makefile Generator
3 # Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
4 # Copyright 2010 Todd Gamblin <tgamblin@llnl.gov>
5 # Copyright 2012 Julien Bigot <julien.bigot@cea.fr>
6 # All rights reserved.
7 #
8 # Redistribution and use in source and binary forms, with or without
9 # modification, are permitted provided that the following conditions
10 # are met:
11 #
12 # * Redistributions of source code must retain the above copyright
13 #   notice, this list of conditions and the following disclaimer.
14 #
15 # * Redistributions in binary form must reproduce the above copyright
16 #   notice, this list of conditions and the following disclaimer in the
17 #   documentation and/or other materials provided with the distribution.
18 #
19 # * Neither the names of Kitware, Inc., the Insight Software Consortium,
20 #   nor the names of their contributors may be used to endorse or promote
21 #   products derived from this software without specific prior written
22 #   permission.
23 #
24 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
27 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
28 # HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
30 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
31 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
32 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 #
36 #=============================================================================
37
38 include(BlueGeneQ-base)
39 set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
40 set(CMAKE_FIND_LIBRARY_PREFIXES "lib")
41 set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")