Changeset 7732


Ignore:
Timestamp:
08/03/11 15:09:05 (8 years ago)
Author:
hinerm
Message:

Unix builds now default to .so Boost libraries
For reasons unknown, referencing static (.a) libraries on Unix
operating systems (specifically Ubuntu 64bit) would cause errors
during compilation.
Now, CMake will use shared libraries (.so) if compiling on Unix and
static otherwise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/jar2lib/src/main/resources/project-files/jace/Prerequisites.cmake

    r7729 r7732  
    3232 
    3333message(STATUS "-- Boost:") 
    34 set(Boost_USE_STATIC_LIBS ON) 
     34if(UNIX) 
     35  set(Boost_USE_SHARED_LIBS ON) 
     36endif(UNIX) 
     37 
     38if(NOT DEFINED Boost_USE_SHARED_LIBS) 
     39  set(Boost_USE_STATIC_LIBS ON) 
     40endif(NOT DEFINED Boost_USE_SHARED_LIBS) 
     41 
    3542set(Boost_USE_MULTITHREADED ON) 
    3643set(Boost_ADDITIONAL_VERSIONS 
Note: See TracChangeset for help on using the changeset viewer.