~ubuntu-branches/ubuntu/wily/openms/wily

« back to all changes in this revision

Viewing changes to cmake/OpenMSBuildSystem_externalLibs.cmake

  • Committer: Package Import Robot
  • Author(s): Filippo Rusconi
  • Date: 2012-11-12 15:58:12 UTC
  • Revision ID: package-import@ubuntu.com-20121112155812-e6mvctvil4ko9npv
Tags: 1.9.0-1
1.9.0 First Debian package release (Closes: #691129).

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
##             compiler-wise: use the same compiler for contrib and OpenMS!
49
49
 
50
50
#set which library extensions are preferred (we want static libraries)
51
 
if(NOT MSVC)
52
 
        set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so")
53
 
endif()
54
 
if (APPLE)
55
 
        set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.dylib")
56
 
endif()
 
51
# if(NOT MSVC)
 
52
#       set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so")
 
53
# endif()
 
54
# if (APPLE)
 
55
#       set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.dylib")
 
56
# endif()
 
57
 
58
 
 
59
# We want to FORCE *.so to be used, not *.a.
 
60
 
 
61
set(CMAKE_FIND_LIBRARY_SUFFIXES ".so")
 
62
 
57
63
 
58
64
OPENMS_CHECKLIB(CONTRIB_XERCESC "xerces-c_3;xerces-c_static_3;libxerces-c;xerces-c" "xerces-c_3D;xerces-c_static_3D;libxerces-c;xerces-c" "xerces_c")
59
65