diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-30 10:04:25 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-30 10:04:25 (GMT) |
commit | 10bea89dbf552570f6d356e1576f27bc40b095f3 (patch) | |
tree | ac5f6146d20148c783efd3b573991e663a6499e3 /CMakeLists.txt | |
parent | 59632d68300be2af11c334b42b668fc4669b7671 (diff) |
Use BUILD_SHARED_LIBS option to decide lib type to build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 30325be..07d1f33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) +option(BUILD_SHARED_LIBS "Enable shared libraries" ON) + option(TNG_BUILD_FORTRAN "Build Fortran compatible library and examples for testing" OFF) option(TNG_BUILD_EXAMPLES "Build examples showing usage of the TNG API" ON) |