Skip to content

Commit

Permalink
reintroduce BUILD_SHARED_LIBS ON by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffamstutz committed Jan 13, 2025
1 parent 2eb1227 commit a8a2311
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,12 @@ elseif(UNIX)
list(APPEND CMAKE_INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}")
endif()

# Built-in CMake options
## Built-in CMake options ##

option(BUILD_TESTING "Build tests for CTest" ON)
# ANARI specific options
option(BUILD_SHARED_LIBS "Build shared libraries instead of static" ON)

## ANARI specific options ##

option(BUILD_CTS "Build cts toolkit" OFF)
cmake_dependent_option(CTS_ENABLE_GLTF "Enable glTF support for cts" ON "BUILD_CTS" OFF)
Expand Down

0 comments on commit a8a2311

Please sign in to comment.