~percona-core/percona-server/5.5

« back to all changes in this revision

Viewing changes to extra/yassl/taocrypt/CMakeLists.txt

Backport from trunk:
Bug#18187290 ISSUE WITH BUILDING MYSQL USING CMAKE 2.8.12

We want to upgrade to VS2013 on Windows.
In order to do this, we need to upgrade to cmake 2.8.12
This has introduced some incompatibilities for .pdb files,
and "make install" no longer works.

To reproduce:
  cmake --build . --target package --config debug

The fix:
Rather than installing .pdb files for static libraries, we use the /Z7 flag
to store symbolic debugging information in the .obj files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
 
1
# Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
2
2
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
36
36
ADD_CONVENIENCE_LIBRARY(taocrypt ${TAOCRYPT_SOURCES})
37
37
RESTRICT_SYMBOL_EXPORTS(taocrypt)
38
38
 
39
 
INSTALL_DEBUG_SYMBOLS(taocrypt)
40
39
IF(MSVC)
41
40
   INSTALL_DEBUG_TARGET(taocrypt DESTINATION ${INSTALL_LIBDIR}/debug)
42
41
ENDIF()